Merge branch 'nd/export-worktree' into maint
commit25a294e44db1c479e8abe2449f71279e6511ea32
authorJunio C Hamano <gitster@pobox.com>
Wed, 19 Aug 2015 21:41:30 +0000 (19 14:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Aug 2015 21:41:30 +0000 (19 14:41 -0700)
treeb77ff79cf66660d1db638d02135e982f1bf01999
parentf9610bcae907a38636174a688c1aa89c63cc9c1a
parentd95138e695d99d32dcad528a2a7974f434c51e79
Merge branch 'nd/export-worktree' into maint

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