avoid queueing rm of no files
This commit is contained in:
parent
5c29750921
commit
39d5f3f11c
1 changed files with 2 additions and 1 deletions
|
@ -226,7 +226,8 @@ resolveMerge = do
|
||||||
void $ liftIO cleanup
|
void $ liftIO cleanup
|
||||||
|
|
||||||
(deleted, cleanup2) <- inRepo (LsFiles.deleted [top])
|
(deleted, cleanup2) <- inRepo (LsFiles.deleted [top])
|
||||||
Annex.Queue.addCommand "rm" [Params "--quiet -f --"] deleted
|
unless (null deleted) $
|
||||||
|
Annex.Queue.addCommand "rm" [Params "--quiet -f --"] deleted
|
||||||
void $ liftIO cleanup2
|
void $ liftIO cleanup2
|
||||||
|
|
||||||
when merged $ do
|
when merged $ do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue