Junio C Hamano wrote: > Joey Hess writes: > > > Appears to be a bug in git. Seems that it's assuming GIT_INDEX_FILE is > > relative to the top of the worktree and not to the CWD. > > I think that has always been the case. You can always specify it as > relative to the top. Of course, you can use absolute. I think it *has* always been that way, but is there anything in the documentation that indicates this is the case? This could well be best fixed in the documentation. Hmm, at least GIT_OBJECT_DIRECTORY also behaves this way. (OTOH, GIT_DIR does not behave this way). -- see shy jo