mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
feature: add ${branch_name} option to commit templates (#589)
This commit is contained in:
parent
6dac26d525
commit
a8a7775b83
3 changed files with 8 additions and 4 deletions
|
@ -1152,7 +1152,7 @@ namespace SourceGit.ViewModels
|
|||
item.Icon = App.CreateMenuIcon("Icons.Code");
|
||||
item.Click += (_, e) =>
|
||||
{
|
||||
CommitMessage = template.Apply(_staged);
|
||||
CommitMessage = template.Apply(_repo, _staged);
|
||||
e.Handled = true;
|
||||
};
|
||||
menu.Items.Add(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue