avoid queueing rm of no files

This commit is contained in:
Joey Hess 2013-02-05 15:11:05 -04:00
parent 5c29750921
commit 39d5f3f11c

View file

@ -226,6 +226,7 @@ resolveMerge = do
void $ liftIO cleanup
(deleted, cleanup2) <- inRepo (LsFiles.deleted [top])
unless (null deleted) $
Annex.Queue.addCommand "rm" [Params "--quiet -f --"] deleted
void $ liftIO cleanup2