Reinstate the old behaviour when GIT_DIR is set and GIT_WORK_TREE is unset
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 5 Aug 2007 13:12:53 +0000 (14:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Aug 2007 08:12:07 +0000 (01:12 -0700)
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>
No differences found