Merge branch 'nd/stop-setenv-work-tree'
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Jan 2016 23:16:53 +0000 (15:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jan 2016 23:16:53 +0000 (15:16 -0800)
An earlier change in 2.5.x-era broke users' hooks and aliases by
exporting GIT_WORK_TREE to point at the root of the working tree,
interfering when they tried to use a different working tree without
setting GIT_WORK_TREE environment themselves.

* nd/stop-setenv-work-tree:
Revert "setup: set env $GIT_WORK_TREE when work tree is set, like $GIT_DIR"

1  2 
environment.c
t/t0002-gitfile.sh
diff --cc environment.c
Simple merge
Simple merge