Skip to content

per branch options for git-merge incl. --no-ff

Lars Hjemli git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Add test-script for git-merge porcelaint/t7600-merge.sh+317 -02 replies
2/5git-merge: refactor option parsinggit-merge.sh+14 -60 replies
3/5git-merge: add support for branch.<name>.mergeoptionsDocumentation/config.txt Documentation/git-merge.txt git-merge.sh +1 more+89 -04 replies
4/5git-merge: add support for --commitDocumentation/merge-options.txt git-merge.sh t/t7600-merge.sh+24 -22 replies
5/5git-merge: add --ff and --no-ff optionsDocumentation/merge-options.txt git-merge.sh t/t7600-merge.sh+42 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] per branch options for git-merge incl. --no-ff

This patch-series implements support for per branch configuration of git-merge, using entries (branch.<name>.mergeoptions) in .git/config.

There is also a new option, --no-ff, which can be used to force git-merge to create merge commits even when the merge was a fast-forward.

Finally, the new optiond --ff and --commit can be used to override setting specified in .git/config.

Note: patch 1/5 is a resend of the testscript for git-merge, this time with correct mode bits.

Shortlog:
Add test-script for git-merge porcelain
git-merge: refactor option parsing
git-merge: add support for branch.<name>.mergeoptions
git-merge: add support for --commit
git-merge: add --ff and --no-ff options

Diffstat:

 Documentation/config.txt        |    6 +
 Documentation/git-merge.txt     |    4 +
 Documentation/merge-options.txt |   13 ++
 git-merge.sh                    |   56 +++++-
 t/t7600-merge.sh                |  414 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 483 insertions(+), 10 deletions(-)