From: Johannes Schindelin Date: Sun, 5 Aug 2007 13:12:53 +0000 (+0100) Subject: Reinstate the old behaviour when GIT_DIR is set and GIT_WORK_TREE is unset X-Git-Tag: v1.5.3-rc5~43 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7efeb8f09866ddd09485c0e6f371a6cbba3d2a0a?hp=7efeb8f09866ddd09485c0e6f371a6cbba3d2a0a 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 Signed-off-by: Junio C Hamano ---