author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sun, 5 Aug 2007 13:12:53 +0000 (14:12 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 10 Aug 2007 08:12:07 +0000 (01:12 -0700) | ||
commit | 7efeb8f09866ddd09485c0e6f371a6cbba3d2a0a | |
tree | add9ba706a65a6e13b6b8da4776b8610ff5df019 | tree | snapshot |
parent | 524e5ffcf41a67ec113a9c3730ddc8fb8d3317f5 | commit | diff |
Reinstate the old behaviour when GIT_DIR is set and GIT_WORK_TREE is unset
The old behaviour was to unilaterally default to the cwd is the work tree
when GIT_DIR was set, but GIT_WORK_TREE wasn't, no matter if we are inside
the GIT_DIR, or if GIT_DIR is actually something like ../../../.git.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The old behaviour was to unilaterally default to the cwd is the work tree
when GIT_DIR was set, but GIT_WORK_TREE wasn't, no matter if we are inside
the GIT_DIR, or if GIT_DIR is actually something like ../../../.git.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c | diff | blob | history | |
t/t1500-rev-parse.sh | diff | blob | history |