Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-16

Re: GIT_INDEX_FILE relative path breaks in subdir

From: Joey Hess <hidden>
Date: 2016-06-16 02:19:26

Junio C Hamano wrote:
Joey Hess [off-list ref] writes:
quoted
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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help