author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Tue, 27 Jan 2009 11:42:31 +0000 (12:42 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 28 Jan 2009 22:54:58 +0000 (14:54 -0800) | ||
commit | 94c88edef7a69299e12248b910752f1fc26f12d6 | |
tree | a6c9940ce036280e0e5a0db16f32c7d0c164041e | tree | snapshot |
parent | 967476966513564e9c28847f7a974b8af5093493 | commit | diff |
Fix submodule squashing into unrelated commit
Actually, I think the issue is pretty independent of submodules; when
"git commit" gets an empty parameter, it misinterprets it as a file.
So avoid passing an empty parameter to "git commit".
Actually, this is a nice cleanup, as MSG_FILE and EDIT_COMMIT were mutually
exclusive; use one variable instead
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Actually, I think the issue is pretty independent of submodules; when
"git commit" gets an empty parameter, it misinterprets it as a file.
So avoid passing an empty parameter to "git commit".
Actually, this is a nice cleanup, as MSG_FILE and EDIT_COMMIT were mutually
exclusive; use one variable instead
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh | diff | blob | history | |
t/t3404-rebase-interactive.sh | diff | blob | history |