diff options
Diffstat (limited to 'Command/Indirect.hs')
-rw-r--r-- | Command/Indirect.hs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Command/Indirect.hs b/Command/Indirect.hs index 8bf228a80..6290e6756 100644 --- a/Command/Indirect.hs +++ b/Command/Indirect.hs @@ -43,8 +43,11 @@ perform = do showStart "commit" "" whenM (stageDirect) $ do showOutput - void $ inRepo $ Git.Command.runBool "commit" - [Param "-m", Param "commit before switching to indirect mode"] + void $ inRepo $ Git.Command.runBool + [ Param "commit" + , Param "-m" + , Param "commit before switching to indirect mode" + ] showEndOk -- Note that we set indirect mode early, so that we can use |