summaryrefslogtreecommitdiff
path: root/Command/Sync.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-01 17:14:38 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-01 17:14:38 -0400
commitf936e91ef1f494ff475dd62f13711e673e475b3c (patch)
tree8f9591da5426f393660722d3d7202a6cb022a8e9 /Command/Sync.hs
parent4ffd404de75d6452e850c1ad6f94aa8dabc19621 (diff)
remove some monkey faces
Diffstat (limited to 'Command/Sync.hs')
-rw-r--r--Command/Sync.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Sync.hs b/Command/Sync.hs
index 04d91adee..5bc412cc9 100644
--- a/Command/Sync.hs
+++ b/Command/Sync.hs
@@ -158,7 +158,7 @@ commitStaged commitmessage = go =<< inRepo Git.Branch.currentUnsafe
go (Just branch) = do
parent <- inRepo $ Git.Ref.sha branch
void $ inRepo $ Git.Branch.commit False commitmessage branch
- (maybe [] (:[]) parent)
+ (maybeToList parent)
return True
mergeLocal :: Maybe Git.Ref -> CommandStart