]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'bc/sequencer-export-work-tree-as-well'
authorJunio C Hamano <gitster@pobox.com>
Thu, 2 Aug 2018 22:30:45 +0000 (15:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Aug 2018 22:30:45 +0000 (15:30 -0700)
commitcd3f067815d145e284369d1bfc4fa16aec8d8eab
tree5555cc085a70471571f4a442e7af63b900b56543
parentc99033060ff7511864e404c18040ffa236f81404
parentab5e67d7513ac6efb4c0ee9787aeaa41604c0566
Merge branch 'bc/sequencer-export-work-tree-as-well'

"git rebase" started exporting GIT_DIR environment variable and
exposing it to hook scripts when part of it got rewritten in C.
Instead of matching the old scripted Porcelains' behaviour,
compensate by also exporting GIT_WORK_TREE environment as well to
lessen the damage.  This can harm existing hooks that want to
operate on different repository, but the current behaviour is
already broken for them anyway.

* bc/sequencer-export-work-tree-as-well:
  sequencer: pass absolute GIT_WORK_TREE to exec commands
sequencer.c
t/t3404-rebase-interactive.sh