author | Jeff King <peff@peff.net> | |
Fri, 3 Apr 2009 19:28:56 +0000 (15:28 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 5 Apr 2009 07:37:32 +0000 (00:37 -0700) | ||
commit | 4f6a32f8af9cceaf0c8ccf6d00d2f100dab5a6db | |
tree | 5becc1ddbe0aa3b92630cc2a26cf043173db46b9 | tree | snapshot |
parent | e1dc49bcdefd362e129c9ee3a85527b518f9b49d | commit | diff |
commit: abort commit if interactive add failed
Previously we ignored the result of calling add_interactive,
which meant that if an error occurred we simply committed
whatever happened to be in the index.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previously we ignored the result of calling add_interactive,
which meant that if an error occurred we simply committed
whatever happened to be in the index.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c | diff | blob | history |