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:
parent
26d3c3b497
commit
faa4935047
3 changed files with 10 additions and 1 deletions
|
@ -39,5 +39,5 @@ perform file link = do
|
||||||
|
|
||||||
cleanup :: FilePath -> CommandCleanup
|
cleanup :: FilePath -> CommandCleanup
|
||||||
cleanup file = do
|
cleanup file = do
|
||||||
Annex.Queue.add "add" [Param "--"] [file]
|
Annex.Queue.add "add" [Param "--force", Param "--"] [file]
|
||||||
return True
|
return True
|
||||||
|
|
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
||||||
|
git-annex (3.20111108) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Handle a case where an annexed file is moved into a gitignored directory,
|
||||||
|
by having fix --force add its change.
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Mon, 07 Nov 2011 18:08:42 -0400
|
||||||
|
|
||||||
git-annex (3.20111107) unstable; urgency=low
|
git-annex (3.20111107) unstable; urgency=low
|
||||||
|
|
||||||
* merge: Use fast-forward merges when possible.
|
* merge: Use fast-forward merges when possible.
|
||||||
|
|
|
@ -17,3 +17,5 @@ This is the error message:
|
||||||
git-annex: user error (Command xargs ["-0","git","--git-dir=/home/[...]/repo/.git","--work-tree=/home/[...]/repo","add","--"] failed; exit code 123)
|
git-annex: user error (Command xargs ["-0","git","--git-dir=/home/[...]/repo/.git","--work-tree=/home/[...]/repo","add","--"] failed; exit code 123)
|
||||||
failed
|
failed
|
||||||
git-annex: 1 failed
|
git-annex: 1 failed
|
||||||
|
|
||||||
|
> Weird edge case.. ok, fixed. [[done]] --[[Joey]]
|
||||||
|
|
Loading…
Reference in a new issue