Skip to content

Commit cf8a8c6

Browse files
committed
Sync with 2.3.5
* maint: Git 2.3.5 docs: clarify what git-rebase's "-p" / "--preserve-merges" does
2 parents a3b75b3 + 52735a6 commit cf8a8c6

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Documentation/RelNotes/2.3.5.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ Fixes since v2.3.4
3838
(in contrib/) did not spell ${param/pattern/string} substitution
3939
correctly, which happened to work with bash but not with zsh.
4040

41+
* The explanation on "rebase --preserve-merges", "pull --rebase=preserve",
42+
and "push --force-with-lease" in the documentation was unclear.
43+
4144
Also contains typofixes, documentation updates and trivial code clean-ups.

Documentation/git-rebase.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,9 @@ default is `--no-fork-point`, otherwise the default is `--fork-point`.
362362

363363
-p::
364364
--preserve-merges::
365-
Instead of ignoring merges, try to recreate them.
365+
Recreate merge commits instead of flattening the history by replaying
366+
commits a merge commit introduces. Merge conflict resolutions or manual
367+
amendments to merge commits are not preserved.
366368
+
367369
This uses the `--interactive` machinery internally, but combining it
368370
with the `--interactive` option explicitly is generally not a good

Documentation/git.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ unreleased) version of Git, that is available from the 'master'
4343
branch of the `git.git` repository.
4444
Documentation for older releases are available here:
4545

46-
* link:v2.3.4/git.html[documentation for release 2.3.4]
46+
* link:v2.3.5/git.html[documentation for release 2.3.5]
4747

4848
* release notes for
49+
link:RelNotes/2.3.5.txt[2.3.5],
4950
link:RelNotes/2.3.4.txt[2.3.4],
5051
link:RelNotes/2.3.3.txt[2.3.3],
5152
link:RelNotes/2.3.2.txt[2.3.2],

0 commit comments

Comments
 (0)