Skip to content

Commit

Permalink
Docs: Add -X option to git-merge's synopsis.
Browse files Browse the repository at this point in the history
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 <gitster@pobox.com>
  • Loading branch information
Marc Branchaud authored and Junio C Hamano committed Apr 12, 2010
1 parent fcd4240 commit adda3c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Documentation/git-merge.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ git-merge - Join two or more development histories together
SYNOPSIS
--------
[verse]
'git merge' [-n] [--stat] [--no-commit] [--squash] [-s <strategy>]...
'git merge' [-n] [--stat] [--no-commit] [--squash]
[-s <strategy>] [-X <strategy-option>]
[--[no-]rerere-autoupdate] [-m <msg>] <commit>...
'git merge' <msg> HEAD <commit>...

Expand Down
10 changes: 5 additions & 5 deletions Documentation/merge-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ option can be used to override --squash.
is used instead ('git merge-recursive' when merging a single
head, 'git merge-octopus' otherwise).

-X <option>::
--strategy-option=<option>::
Pass merge strategy specific option through to the merge
strategy.

--summary::
--no-summary::
Synonyms to --stat and --no-stat; these are deprecated and will be
Expand All @@ -74,8 +79,3 @@ option can be used to override --squash.
-v::
--verbose::
Be verbose.

-X <option>::
--strategy-option=<option>::
Pass merge strategy specific option through to the merge
strategy.

0 comments on commit adda3c3

Please sign in to comment.