Skip to content

per branch options for git-merge

Lars Hjemli git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Add test-script for git-merge porcelaint/t7600-merge.sh+344 -00 replies
2/6git-merge: fix faulty SQUASH_MSGgit-merge.sh+1 -10 replies
3/6git-merge: refactor option parsinggit-merge.sh+14 -60 replies
4/6git-merge: add support for branch.<name>.mergeoptionsDocumentation/config.txt Documentation/git-merge.txt git-merge.sh +1 more+85 -00 replies
5/6git-merge: add support for --commit and --no-squashDocumentation/merge-options.txt git-merge.sh t/t7600-merge.sh+36 -20 replies
6/6git-merge: add --ff and --no-ff optionsDocumentation/merge-options.txt git-merge.sh t/t7600-merge.sh+45 -60 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchJunio C Hamano
1/6
2/6Noticed-by
3/6
4/6
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH 0/6] per branch options for git-merge

This patch-series implements support for per branch configuration of git-merge, using entries (branch.<name>.mergeoptions) in .git/config. Since this makes it possible to specify --no-commit and --squash as default options for git-merge, the new options --commit and --no-squash are added to enable users to override such defaults.

There is also a new option, --no-ff, which can be used to force git-merge to create a merge commit even when the merge was a fast-forward (and a matching --ff option to allow overrides).

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

Diffstat:

 Documentation/config.txt        |    6 +
 Documentation/git-merge.txt     |    4 +
 Documentation/merge-options.txt |   17 ++
 git-merge.sh                    |   65 +++++-
 t/t7600-merge.sh                |  440 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 521 insertions(+), 11 deletions(-)