Git: Archive support

This allows users to create archive files from local repository.

Tools > Git > Local Repository > Archive will create <reponame>-
HEAD.tar.gz

Tools > Git > Actions on Commits... you can choose a commit to archive

Change-Id: I09bbbdefe532237e9065d1ca3c21910a036ea149
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Tasuku Suzuki <tasuku.suzuki@qbc.io>
This commit is contained in:
Tasuku Suzuki
2019-05-28 15:06:35 +09:00
committed by Orgad Shaneh
parent c5d63c8f14
commit 578cdf7c5a
6 changed files with 68 additions and 0 deletions

View File

@@ -326,6 +326,7 @@ public:
static QString msgNoChangedFiles();
static QString msgNoCommits(bool includeRemote);
void show(const QString &source, const QString &id, const QString &name = QString());
void archive(const QString &workingDirectory, const QString &commit);
private:
void finishSubmoduleUpdate();