bugfix: Running copy --to
when both local and remote had the key dropped it from local.
This commit is contained in:
parent
71a8278f9c
commit
e43d4730c5
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue