From: Stephan Beyer Date: Wed, 16 Jul 2008 20:45:21 GMT Subject: [PATCH 2/2] Introduce git am --abort Message-ID: <9915f89fa819f7cd59de9913e08d831a37bbf418.1216233919.git.s-beyer@gmx.net> In-Reply-To: <5f60ea3acffdb5dfdbe0ea6e81133efadab9f20d.1216233919.git.s-beyer@gmx.net> Currently, aborting a git-am process during a conflict is done by resetting to the HEAD before applying the patches and removing the .git/rebase directory manually. This patch introduces an --abort option for git-am to make this as easy as in git-rebase. Mentored-by: Christian Couder Mentored-by: Daniel Barkalow Signed-off-by: Stephan Beyer --- Documentation/git-am.txt | 5 ++++- Documentation/git-rerere.txt | 2 +- contrib/completion/git-completion.bash | 2 +- git-am.sh | 19 ++++++++++++------- git-rebase.sh | 8 +++----- t/t4150-am.sh | 21 +++++++++++++++++---- 6 files changed, 38 insertions(+), 19 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index 2d7f162..df35cee 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -13,7 +13,7 @@ SYNOPSIS [--3way] [--interactive] [--binary] [--whitespace=