From: Karl Hasselström Date: Sat, 12 Apr 2008 14:29:40 GMT Subject: git read-tree ignores GIT_WORK_TREE Message-ID: <20080412142940.GA14214@diana.vm.bytemark.co.uk> It seems that git merge-recursive recently started honoring GIT_WORK_TREE. This broke StGit, which was using both GIT_WORK_TREE=$(git rev-parse --show-cdup) _and_ cd $(git rev-parse --show-cdup) when execing git merge-recursive. (I'm not arguing with this change -- it's definitely a bug in StGit to use both.) However, I was doing the same to read-tree -u -m, and that still works. It seems that read-tree is ignoring GIT_WORK_TREE. Is this intentional, and if so, what's the rule about when GIT_WORK_TREE is heeded and when it's ignored? -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle