builtin-commit.c: export GIT_INDEX_FILE for launch_editor as well.
authorPierre Habouzit <madcoder@debian.org>
Mon, 26 Nov 2007 08:59:27 +0000 (09:59 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2007 17:13:17 +0000 (09:13 -0800)
commit8babab95af7c01d9ea75c97ee0df40e5a2170b83
tree1d0716d42ba6e7ae89cde3d2035484b33dd41fee
parentb468f0ce4881bf42ffc820b1cddad67dad17fd80
builtin-commit.c: export GIT_INDEX_FILE for launch_editor as well.

The editor program to let the user edit the log message used to
get GIT_INDEX_FILE environment variable pointing at the right
file, but this was lost when git-commit was rewritten in C.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Acked-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c
builtin-tag.c
strbuf.h