mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
feature: support --signoff
for git commit
command (#591)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
b9d7f908c9
commit
06fd49ba92
10 changed files with 48 additions and 9 deletions
|
@ -1311,7 +1311,7 @@ namespace SourceGit.ViewModels
|
|||
succ = new Commands.Add(_repo.FullPath, _repo.IncludeUntracked).Exec();
|
||||
|
||||
if (succ)
|
||||
succ = new Commands.Commit(_repo.FullPath, _commitMessage, _useAmend).Exec();
|
||||
succ = new Commands.Commit(_repo.FullPath, _commitMessage, _useAmend, _repo.Settings.EnableSignOffForCommit).Run();
|
||||
|
||||
Dispatcher.UIThread.Post(() =>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue