Skip to content

Commit

Permalink
am: switch --resolved to --continue
Browse files Browse the repository at this point in the history
Rebase calls this same function "--continue", which means
users may be trained to type it. There is no reason to
deprecate --resolved (or -r), so we will keep it as a
synonym.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Feb 12, 2010
1 parent f476c0b commit c8089af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Documentation/git-am.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SYNOPSIS
[--whitespace=<option>] [-C<n>] [-p<n>] [--directory=<dir>]
[--reject] [-q | --quiet] [--scissors | --no-scissors]
[<mbox> | <Maildir>...]
'git am' (--skip | --resolved | --abort)
'git am' (--continue | --skip | --abort)

DESCRIPTION
-----------
Expand Down Expand Up @@ -107,6 +107,7 @@ default. You can use `--no-utf8` to override this.
Skip the current patch. This is only meaningful when
restarting an aborted patch.

--continue::
-r::
--resolved::
After a patch failure (e.g. attempting to apply
Expand Down
5 changes: 3 additions & 2 deletions git-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ p= pass it through git-apply
patch-format= format the patch(es) are in
reject pass it through git-apply
resolvemsg= override error message when patch failure occurs
r,resolved to be used after a patch failure
continue continue applying patches after resolving a conflict
r,resolved synonyms for --continue
skip skip the current patch
abort restore the original branch and abort the patching operation.
committer-date-is-author-date lie about committer date
Expand Down Expand Up @@ -318,7 +319,7 @@ do
scissors=t ;;
--no-scissors)
scissors=f ;;
-r|--resolved)
-r|--resolved|--continue)
resolved=t ;;
--skip)
skip=t ;;
Expand Down

0 comments on commit c8089af

Please sign in to comment.