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.
This commit is contained in:
parent
b9c16568ef
commit
eb9ac8d6d7
3 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue