]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'pw/rerere-autoupdate'
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Apr 2019 10:28:07 +0000 (19:28 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Apr 2019 10:28:07 +0000 (19:28 +0900)
Doc updates.

* pw/rerere-autoupdate:
  merge: tweak --rerere-autoupdate documentation
  am/cherry-pick/rebase/revert: document --rerere-autoupdate

1  2 
Documentation/git-rebase.txt

index 44e00329e1b0e6b1c3d55316121992492f5b1ea9,ed62b0c2de581ba786629eb5909c06cc310631b7..f5e6ae3907bae3af8a86ae5c43775f9b39c48e47
@@@ -300,6 -300,11 +300,11 @@@ See also INCOMPATIBLE OPTIONS below
  +
  See also INCOMPATIBLE OPTIONS below.
  
+ --rerere-autoupdate::
+ --no-rerere-autoupdate::
+       Allow the rerere mechanism to update the index with the
+       result of auto-conflict resolution if possible.
  -S[<keyid>]::
  --gpg-sign[=<keyid>]::
        GPG-sign commits. The `keyid` argument is optional and
@@@ -415,9 -420,9 +420,9 @@@ i.e. commits that would be excluded by 
  the `rebase-cousins` mode is turned on, such commits are instead rebased
  onto `<upstream>` (or `<onto>`, if specified).
  +
 -The `--rebase-merges` mode is similar in spirit to `--preserve-merges`, but
 -in contrast to that option works well in interactive rebases: commits can be
 -reordered, inserted and dropped at will.
 +The `--rebase-merges` mode is similar in spirit to the deprecated
 +`--preserve-merges`, but in contrast to that option works well in interactive
 +rebases: commits can be reordered, inserted and dropped at will.
  +
  It is currently only possible to recreate the merge commits using the
  `recursive` merge strategy; Different merge strategies can be used only via
@@@ -427,10 -432,9 +432,10 @@@ See also REBASING MERGES and INCOMPATIB
  
  -p::
  --preserve-merges::
 -      Recreate merge commits instead of flattening the history by replaying
 -      commits a merge commit introduces. Merge conflict resolutions or manual
 -      amendments to merge commits are not preserved.
 +      [DEPRECATED: use `--rebase-merges` instead] Recreate merge commits
 +      instead of flattening the history by replaying commits a merge commit
 +      introduces. Merge conflict resolutions or manual amendments to merge
 +      commits are not preserved.
  +
  This uses the `--interactive` machinery internally, but combining it
  with the `--interactive` option explicitly is generally not a good
@@@ -1021,11 -1025,11 +1026,11 @@@ merge cmak
  
  BUGS
  ----
 -The todo list presented by `--preserve-merges --interactive` does not
 -represent the topology of the revision graph.  Editing commits and
 -rewording their commit messages should work fine, but attempts to
 -reorder commits tend to produce counterintuitive results. Use
 -`--rebase-merges` in such scenarios instead.
 +The todo list presented by the deprecated `--preserve-merges --interactive`
 +does not represent the topology of the revision graph (use `--rebase-merges`
 +instead).  Editing commits and rewording their commit messages should work
 +fine, but attempts to reorder commits tend to produce counterintuitive results.
 +Use `--rebase-merges` in such scenarios instead.
  
  For example, an attempt to rearrange
  ------------