summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-01-02 11:57:02 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-01-02 11:57:02 -0400
commit508b427c7b0885f6ed6e3f92800976d02c6341f8 (patch)
tree769ee42a3a6861e97048faac1e73697b132684f7 /Command
parent442202dd6d2ede66b35843f8e4708624041d25b0 (diff)
tweak
Diffstat (limited to 'Command')
-rw-r--r--Command/Sync.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Sync.hs b/Command/Sync.hs
index 445a37137..e5884cc4a 100644
--- a/Command/Sync.hs
+++ b/Command/Sync.hs
@@ -31,7 +31,7 @@ def = [command "sync" (paramOptional (paramRepeating paramRemote))
-- syncing involves several operations, any of which can independently fail
seek :: CommandSeek
seek rs = do
- !branch <- fromMaybe nobranch <$> inRepo (Git.Branch.current)
+ !branch <- fromMaybe nobranch <$> inRepo Git.Branch.current
remotes <- syncRemotes rs
return $ concat $
[ [ commit ]