aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/unannex_vs_unlock_hook_confusion.mdwn
blob: 8a63303775df52bd39f8246a6a52fda2e276b133 (plain)
1
2
3
4
5
6
7
8
9
See [[forum/unannex_alternatives]] for problem description.

If an unannex is followed by a "git add; git commit", git-annex's hook thinks
that you have used git annex unlock on the file and are
now committing a changed version, and the right thing to do there is to add the
new content to the annex and update the symlink accordingly.

Can we tell the difference between an unannexed file that has yet to be committed
and an unlocked file? --[[Joey||