git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
LHLars Hjemli <hjemli@gmail.com>
Date
Sep 23, 2007, 22:51 UTC
Message-ID
<1190587905-700-1-git-send-email-hjemli@gmail.com>

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(-)
Next: Lars Hjemli
Message 1 of 7 in “per branch options for git-merge”
  1. 0/6 per branch options for git-mergeLars Hjemli, Sep 23, 2007
  2. 1/6 Add test-script for git-merge porcelainLars Hjemli, Sep 23, 2007
  3. 2/6 git-merge: fix faulty SQUASH_MSGLars Hjemli, Sep 23, 2007
  4. 3/6 git-merge: refactor option parsingLars Hjemli, Sep 23, 2007
  5. 4/6 git-merge: add support for branch.<name>.mergeoptionsLars Hjemli, Sep 23, 2007
  6. 5/6 git-merge: add support for --commit and --no-squashLars Hjemli, Sep 23, 2007
  7. 6/6 git-merge: add --ff and --no-ff optionsLars Hjemli, Sep 23, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.