Skip to content

Commit adda3c3

Browse files
marcnarcgitster
authored andcommitted
Docs: Add -X option to git-merge's synopsis.
Also move -X's description next to -s's in merge-options.txt. This makes it easier to learn how to specify merge strategy options. Signed-off-by: Junio C Hamano <[email protected]>
1 parent fcd4240 commit adda3c3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Documentation/git-merge.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ git-merge - Join two or more development histories together
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git merge' [-n] [--stat] [--no-commit] [--squash] [-s <strategy>]...
12+
'git merge' [-n] [--stat] [--no-commit] [--squash]
13+
[-s <strategy>] [-X <strategy-option>]
1314
[--[no-]rerere-autoupdate] [-m <msg>] <commit>...
1415
'git merge' <msg> HEAD <commit>...
1516

Documentation/merge-options.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ option can be used to override --squash.
6262
is used instead ('git merge-recursive' when merging a single
6363
head, 'git merge-octopus' otherwise).
6464

65+
-X <option>::
66+
--strategy-option=<option>::
67+
Pass merge strategy specific option through to the merge
68+
strategy.
69+
6570
--summary::
6671
--no-summary::
6772
Synonyms to --stat and --no-stat; these are deprecated and will be
@@ -74,8 +79,3 @@ option can be used to override --squash.
7479
-v::
7580
--verbose::
7681
Be verbose.
77-
78-
-X <option>::
79-
--strategy-option=<option>::
80-
Pass merge strategy specific option through to the merge
81-
strategy.

0 commit comments

Comments
 (0)