git-commit: initialize TMP_INDEX just to be sure.
authorJunio C Hamano <gitster@pobox.com>
Tue, 2 Oct 2007 18:47:58 +0000 (11:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Oct 2007 18:48:06 +0000 (11:48 -0700)
We rely on TMP_INDEX variable to decide if we are doing a partial commit,
as it is only set in the partial commit codepath. But the variable is
never initialized. A stray environment variable from outside could
ruin the day.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found