summaryrefslogtreecommitdiff
path: root/doc/bugs/Error_when_moving_annexed_file_to_a_.gitignored_location.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-05-29 15:23:05 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-05-29 15:23:05 -0400
commit1f6cfecc972b121fa42ea80383183bbaccc2195a (patch)
tree0a450c4226f5e05c2a3597a9f520376de281fffe /doc/bugs/Error_when_moving_annexed_file_to_a_.gitignored_location.mdwn
parenta95fb731cd117f35a6e0fce90d9eb35d0941e26e (diff)
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were least edited before 2014. Command line used: for f in $(grep -l '\[\[done\]\]' *.mdwn); do if [ -z $(git log --since=2014 --pretty=oneline "$f") ]; then git rm $f; git rm -rf $(echo "$f" | sed 's/.mdwn$//'); fi; done
Diffstat (limited to 'doc/bugs/Error_when_moving_annexed_file_to_a_.gitignored_location.mdwn')
-rw-r--r--doc/bugs/Error_when_moving_annexed_file_to_a_.gitignored_location.mdwn21
1 files changed, 0 insertions, 21 deletions
diff --git a/doc/bugs/Error_when_moving_annexed_file_to_a_.gitignored_location.mdwn b/doc/bugs/Error_when_moving_annexed_file_to_a_.gitignored_location.mdwn
deleted file mode 100644
index 34d05c0b1..000000000
--- a/doc/bugs/Error_when_moving_annexed_file_to_a_.gitignored_location.mdwn
+++ /dev/null
@@ -1,21 +0,0 @@
-I just noticed that if you move a git-annex symlink to a location ignored by git, it simply works. Upon committing that change, however, part of git-annex's `fix` function apparently tries to `git-add` the symlink. This fails because the new, ignored location requires a `git-add --force`.
-
-Considering that git proper doesn't fail or warn, I think git-annex shouldn't either.
-
-This is the error message:
-
- $ git mv annexed-file ignored-dir/
- $ git commit
- fix ignored-dir/annexed-file ok
- (Recording state in git...)
- The following paths are ignored by one of your .gitignore files:
- ignored-dir
- Use -f if you really want to add them.
- fatal: no files added
- 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
- git-annex: 1 failed
-
-> Weird edge case.. ok, fixed. [[done]] --[[Joey]]