Merge branch 'nd/export-worktree'
commita3f4eb1b40457d85ab63168b621e71eaf73bb3c4
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2015 18:01:14 +0000 (3 11:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2015 18:01:14 +0000 (3 11:01 -0700)
tree820a0708317f463df97523b117806be63cb1e709
parent54d673f25d571ac2d8f50b1ccea4a7d69ca8a056
parentd95138e695d99d32dcad528a2a7974f434c51e79
Merge branch 'nd/export-worktree'

Running an aliased command from a subdirectory when the .git thing
in the working tree is a gitfile pointing elsewhere did not work.

* nd/export-worktree:
  setup: set env $GIT_WORK_TREE when work tree is set, like $GIT_DIR
environment.c