Fix a long-standing bug that could cause the wrong index file to be used when committing to the git-annex branch, if GIT_INDEX_FILE is set in the environment. This typically resulted in git-annex branch log files being committed to the master branch and later showing up in the work tree. (These log files can be safely removed.)

This commit is contained in:
Joey Hess 2014-01-14 15:36:33 -04:00
parent 188f0bd58d
commit d07f2d7865
7 changed files with 31 additions and 11 deletions

View file

@ -71,3 +71,12 @@ Where does the e6a directory comes from? I don't suspect a bug there, but in my
Thanks!
Florian
> [[fixed|done]]
>
> I know someone reported this a looong time ago (years), and I cannot find
> that bug report. Probably I closed it because I was unable to find a way
> to reproduce it.
>
> The spurious log files can be safely removed from your working tree.
> --[[Joey]]