diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-04-05 16:22:21 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-04-05 16:22:21 -0400 |
commit | f33f3e5fa2ef208c6fdeb1f26c3dd3f5a0092b1a (patch) | |
tree | b6c48a11660e1ca6587690e819e5cc570518a0e9 /Command/Sync.hs | |
parent | ac5401196d6657b2298b5f0ca1be5122d9821d20 (diff) |
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.
Diffstat (limited to 'Command/Sync.hs')
-rw-r--r-- | Command/Sync.hs | 3 |
1 files changed, 2 insertions, 1 deletions
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 |