author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Wed, 27 May 2009 09:25:19 +0000 (11:25 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 14 Jun 2009 00:30:38 +0000 (17:30 -0700) | ||
commit | 0cd29a0371838228e2c942058e8829f5d0d4a077 | |
tree | a55be524d407e49df02305428ac83b6f815a8ed3 | tree | snapshot |
parent | c574e683b587ee3c302317e4fa9c83cd4605cd82 | commit | diff |
git-am: refactor 'cleaning up and aborting'
Introduce a clean_abort function that echoes an optional error message
to standard error, removes the dotest directory and exits with status 1.
Use it when patch format detection or patch splitting fails early.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Introduce a clean_abort function that echoes an optional error message
to standard error, removes the dotest directory and exits with status 1.
Use it when patch format detection or patch splitting fails early.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh | diff | blob | history |