Handle a case where an annexed file is moved into a gitignored directory, by having fix --force add its change.

This commit is contained in:
Joey Hess 2011-11-07 18:10:31 -04:00
parent 26d3c3b497
commit faa4935047
3 changed files with 10 additions and 1 deletions

View file

@ -39,5 +39,5 @@ perform file link = do
cleanup :: FilePath -> CommandCleanup
cleanup file = do
Annex.Queue.add "add" [Param "--"] [file]
Annex.Queue.add "add" [Param "--force", Param "--"] [file]
return True