Bastian Blank wrote: > On Mon, Jul 18, 2011 at 04:46:09PM -0400, Joey Hess wrote: > > git-annex only works on files that are present in git (except for add of > > course), so you have to commit the file to git before it can be > > unannexed. > > So it is the reverse of "git annex add && git commit" and not to reverse > accidental adds. > > However "git unannex" does a commit at the same time.
This is necessary because if it did not commit then, and the unannexed file is added to git as a normal file, git-annex's pre-commit hook would see the file's type changing, and get confused and assume it had been unlocked for edit and was being committed, which would result in it being annexed again. -- see shy jo
signature.asc
Description: Digital signature

