summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-01-07 02:14:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-01-07 02:14:22 -0400
commite43d4730c5157acd5ccc421472b33d0f12167a2c (patch)
tree0cc99f242c6c0c24387b9d0ef50ed97b1521130c /Command
parent71a8278f9caea8d3e52a5d43cb60125018ec31fa (diff)
bugfix: Running `copy --to` when both local and remote had the key dropped it from local.
Diffstat (limited to 'Command')
-rw-r--r--Command/Move.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Move.hs b/Command/Move.hs
index 0077618f8..3e7fde370 100644
--- a/Command/Move.hs
+++ b/Command/Move.hs
@@ -89,7 +89,7 @@ toPerform move key = do
if ok
then return $ Just $ toCleanup move remote key
else return Nothing -- failed
- Right True -> return $ Just $ Command.Drop.cleanup key
+ Right True -> return $ Just $ toCleanup move remote key
toCleanup :: Bool -> Git.Repo -> Key -> CommandCleanup
toCleanup move remote key = do
remoteHasKey remote key True