diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-05-27 11:25:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-13 17:30:38 -0700 |
commit | 0cd29a0371838228e2c942058e8829f5d0d4a077 (patch) | |
tree | a55be524d407e49df02305428ac83b6f815a8ed3 /pack-check.c | |
parent | c574e683b587ee3c302317e4fa9c83cd4605cd82 (diff) | |
download | git-0cd29a0371838228e2c942058e8829f5d0d4a077.tar.gz |
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>
Diffstat (limited to 'pack-check.c')
0 files changed, 0 insertions, 0 deletions