commit | 0cd29a0371838228e2c942058e8829f5d0d4a077 | [log] [tgz] |
---|---|---|
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | Wed May 27 11:25:19 2009 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Sat Jun 13 17:30:38 2009 -0700 |
tree | a55be524d407e49df02305428ac83b6f815a8ed3 | |
parent | c574e683b587ee3c302317e4fa9c83cd4605cd82 [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>