aboutsummaryrefslogtreecommitdiff
path: root/Command/Fix.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-11-07 18:10:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-11-07 18:10:31 -0400
commitfaa4935047b7083e1970d13f51fbaa6fe7d0fe3d (patch)
treebe7cbf99cc7ffe601602a669219156ba199081a3 /Command/Fix.hs
parent26d3c3b4977405127b52da0cddefe845b855f08f (diff)
Handle a case where an annexed file is moved into a gitignored directory, by having fix --force add its change.
Diffstat (limited to 'Command/Fix.hs')
-rw-r--r--Command/Fix.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Fix.hs b/Command/Fix.hs
index c46ddc7ee..b46d6e8ec 100644
--- a/Command/Fix.hs
+++ b/Command/Fix.hs
@@ -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