Code

rebase -i: avoid exporting GIT_AUTHOR_* variables
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 25 Sep 2007 15:43:44 +0000 (16:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Sep 2007 00:49:40 +0000 (17:49 -0700)
commitae830ed7f50377e64b774ce87441ff4538f04ad7
tree56b2c2fa53c1e830fd2951207a07dd831e60b727
parentdad4e32c4658f12a6eaa2decead5d77678911d95
rebase -i: avoid exporting GIT_AUTHOR_* variables

It is somewhat unsafe to export the GIT_AUTHOR_* variables, since a later
call to git-commit or git-merge could pick them up inadvertently.

So avoid the export, using a recipe provided by Johannes Sixt.

Incidentally, this fixes authorship of merges with "rebase --preserve -i".

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh