Skip to content

Commit c8089af

Browse files
peffgitster
authored andcommitted
am: switch --resolved to --continue
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f476c0b commit c8089af

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Documentation/git-am.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ SYNOPSIS
1515
[--whitespace=<option>] [-C<n>] [-p<n>] [--directory=<dir>]
1616
[--reject] [-q | --quiet] [--scissors | --no-scissors]
1717
[<mbox> | <Maildir>...]
18-
'git am' (--skip | --resolved | --abort)
18+
'git am' (--continue | --skip | --abort)
1919

2020
DESCRIPTION
2121
-----------
@@ -107,6 +107,7 @@ default. You can use `--no-utf8` to override this.
107107
Skip the current patch. This is only meaningful when
108108
restarting an aborted patch.
109109

110+
--continue::
110111
-r::
111112
--resolved::
112113
After a patch failure (e.g. attempting to apply

git-am.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ p= pass it through git-apply
2525
patch-format= format the patch(es) are in
2626
reject pass it through git-apply
2727
resolvemsg= override error message when patch failure occurs
28-
r,resolved to be used after a patch failure
28+
continue continue applying patches after resolving a conflict
29+
r,resolved synonyms for --continue
2930
skip skip the current patch
3031
abort restore the original branch and abort the patching operation.
3132
committer-date-is-author-date lie about committer date
@@ -318,7 +319,7 @@ do
318319
scissors=t ;;
319320
--no-scissors)
320321
scissors=f ;;
321-
-r|--resolved)
322+
-r|--resolved|--continue)
322323
resolved=t ;;
323324
--skip)
324325
skip=t ;;

0 commit comments

Comments
 (0)