Code

Make GIT_INDEX_FILE apply to git-commit
authorRémi Vanicat <vanicat@debian.org>
Sun, 11 Nov 2007 12:28:08 +0000 (13:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Nov 2007 23:41:07 +0000 (15:41 -0800)
commit859a4dbcadd200ae955fe36d0c4fb3f4bce0e032
treebabf63124993a1254f51f68b1ec521e2543559ed
parenta91ef6e75b897a255cc17b70014a39e68dd54c7a
Make GIT_INDEX_FILE apply to git-commit

Currently, when committing, git-commit ignore the value of
GIT_INDEX_FILE, and always use $GIT_DIR/index. This patch
fix it.

Signed-off-by: Rémi Vanicat <vanicat@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-commit.sh
t/t7500-commit.sh