author | Junio C Hamano <gitster@pobox.com> | |
Tue, 2 Oct 2007 18:47:58 +0000 (11:47 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 2 Oct 2007 18:48:06 +0000 (11:48 -0700) | ||
commit | c8f203255bc7a782e3a54e73d5801009bb7f0319 | |
tree | 1f5c3d243eb5e21a6de9147ce4ba5cabf2c1ac51 | tree | snapshot |
parent | 63a1f810a6f976a307aaaabdce21082f6d7f20aa | commit | diff |
git-commit: initialize TMP_INDEX just to be sure.
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>
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>
git-commit.sh | diff | blob | history |