mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
code_review: PR #589
* do not using namespace `SourceGit.*` * should use branch instead of repository
This commit is contained in:
parent
1855b43750
commit
728d003717
2 changed files with 3 additions and 4 deletions
|
@ -1157,7 +1157,7 @@ namespace SourceGit.ViewModels
|
|||
item.Icon = App.CreateMenuIcon("Icons.Code");
|
||||
item.Click += (_, e) =>
|
||||
{
|
||||
CommitMessage = template.Apply(_repo, _staged);
|
||||
CommitMessage = template.Apply(_repo.CurrentBranch, _staged);
|
||||
e.Handled = true;
|
||||
};
|
||||
menu.Items.Add(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue