Skip to content

clarify 'git merge' documentation

Jonathan Nieder git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 3 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Documentation: merge: move configuration section to endDocumentation/git-merge.txt+9 -90 replies
2/7Documentation: suggest `reset --merge` in How Merge Works sectionDocumentation/git-merge.txt+3 -30 replies
3/7Documentation: merge: move merge strategy list to endDocumentation/git-merge.txt+2 -20 replies
4/7Documentation: merge: add an overviewDocumentation/git-merge.txt+26 -21 reply
5/7Documentation: emphasize when git merge terminates earlyDocumentation/git-merge.txt+21 -100 replies
6/7Documentation: merge: add a section about fast-forwardDocumentation/git-merge.txt+18 -130 replies
7/7Documentation: simplify How Merge WorksDocumentation/git-merge.txt+16 -360 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchPetr Baudis
1/7A-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] clarify 'git merge' documentation

For the previous round [1], I wrote something like this to clarify why merging with dirty trees is safe. I hope it also makes git-merge.1 more useful for other purposes. I have not changed the warning in question, which belongs to a different topic.

Patches 1-3 move some material towards the end of the 'merge' manual, to make the manpage easier to read straight through.

Patch 4 adds a brief introduction for the reader who might not yet be familiar with branching and merging. I am especially interested in feedback on this one. My writing tends not to be as clear as I would like. Already some advice from Junio helped a great deal.

Patches 5-7 organize the material on how the merge works into short, digestible pieces. Patch 5 explains how a merge can abort without doing anything, patch 6 the fast-forward merge, and patch 7 the true merge, all from the point of view of what matters for the person invoking ‘git merge’. Patch 7 is basically rewritten using Thomas’s advice.

The patches are against doc-style/for-next of Thomas’s repo at
git://repo.or.cz/git/trast .

The advice from last round was very helpful. Apologies for taking so long to respond to it.

Enjoy,
Jonathan Nieder (7):
Documentation: merge: move configuration section to end
Documentation: suggest reset --merge in How Merge Works section
Documentation: merge: move merge strategy list to end
Documentation: merge: add an overview
Documentation: emphasize when git merge terminates early
Documentation: merge: add a section about fast-forward
Documentation: simplify How Merge Works

 Documentation/git-merge.txt |  164 ++++++++++++++++++++++++-------------------
 1 files changed, 92 insertions(+), 72 deletions(-)

[1] http://thread.gmane.org/gmane.comp.version-control.git/136356/focus=136617