From f33f3e5fa2ef208c6fdeb1f26c3dd3f5a0092b1a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 5 Apr 2016 16:22:21 -0400 Subject: sync: Show output of git commit. Rationalle: User might have hook scripts whose output they want to see. Also, git commit output may tell the user they forgot to add a file. The output is not too ugly when there's nothing to commit. --- Command/Sync.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Command/Sync.hs') diff --git a/Command/Sync.hs b/Command/Sync.hs index 135f8b42d..69f39bb8a 100644 --- a/Command/Sync.hs +++ b/Command/Sync.hs @@ -214,7 +214,8 @@ commit o = stopUnless shouldcommit $ next $ next $ do void preCommitDirect commitStaged Git.Branch.ManualCommit commitmessage , do - inRepo $ Git.Branch.commitQuiet Git.Branch.ManualCommit + showOutput + void $ inRepo $ Git.Branch.commitCommand Git.Branch.ManualCommit [ Param "-a" , Param "-m" , Param commitmessage -- cgit v1.2.3