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

@@ -42,6 +42,7 @@ namespace Internal {
enum ChangeCommand {
NoCommand,
Archive,
Checkout,
CherryPick,
Revert,
@@ -68,6 +69,7 @@ private:
void recalculateCompletion();
void recalculateDetails();
void changeTextChanged(const QString &text);
void acceptArchive();
void acceptCheckout();
void acceptCherryPick();
void acceptRevert();