]> git.ipfire.org Git - thirdparty/git.git/commit - git-commit.sh
Tentative fix to git-commit-script
authorJunio C Hamano <junkio@cox.net>
Mon, 15 Aug 2005 22:37:37 +0000 (15:37 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 15 Aug 2005 23:32:58 +0000 (16:32 -0700)
commit2150cc99fe29fd81db1e9c5971e13bcb78373ebf
tree7008b96cd7acee96be7ff4014b623c074f122446
parente31bb3bb939a8feb7af472c55d95f41a90bbc438
Tentative fix to git-commit-script

The recent change to give the multiple commit message source was not
carrying over the authorship information from -C/-c commits correctly.
The export of the environment variable happens only in the subprocess,
not the main process that eventually runs git-commit-tree.

The right fix might be to teach git-commit-script to grok the From:
and Date: lines at the beginning of the commit message just like
git-applymbox knows how, but this has to do until that enhancement
happens.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit-script