mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
feature<Achive>: add git archive
to commit's context menu
This commit is contained in:
parent
93835b48bc
commit
3f55d66e01
7 changed files with 182 additions and 2 deletions
|
@ -348,6 +348,14 @@ namespace SourceGit.Views.Widgets {
|
|||
}
|
||||
};
|
||||
menu.Items.Add(saveToPatch);
|
||||
|
||||
var archive = new MenuItem();
|
||||
archive.Header = App.Text("CommitCM.Archive");
|
||||
archive.Click += (o, e) => {
|
||||
new Popups.Archive(repo.Path, commit).Show();
|
||||
e.Handled = true;
|
||||
};
|
||||
menu.Items.Add(archive);
|
||||
menu.Items.Add(new Separator());
|
||||
|
||||
var copySHA = new MenuItem();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue