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

Re: [PATCH v2] merge-file: honor merge.conflictStyle outside of a repository

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Feb 7, 2026, 21:47 UTC
Message-ID
<825e7404-f781-4739-a37b-ae3d095fda4d@app.fastmail.com>
In-Reply-To
<3488DCC3-D127-465B-BB95-3D87BB2E48F6@ytausch.de>
On Sat, Feb 7, 2026, at 22:37, Yannik Tausch wrote:
Show 11 quoted lines
> When running outside a repository, git merge-file ignores the
> merge.conflictStyle configuration variable entirely. Since the
> function receives `repo` from the caller (which is NULL outside a
> repository), and repo_config() falls back to reading system and user
> configuration when passed NULL, pass `repo` to repo_config()
> unconditionally.
>
> Also document that merge.conflictStyle is honored.
>
> Signed-off-by: Yannik Tausch <dev@ytausch.de>
> ---
This looks good to me. Based on my previous feedback.
Show 6 quoted lines
>
> Notes:
>    Changes since v1:
>    - Use repo parameter directly with repo_config() (Junio)
>    - Fix AsciiDoc continuation, rename test files, break long
>      lines (Kristoffer)
Nice and tidy change notes/changelog.
>[snip]
Previous: Yannik TauschNext: Patrick Steinhardt
Message 10 of 12 in “[DOC] merge-file: document that merge.conflictStyle requires a repository”
  1. Yannik TauschFeb 5, 2026
  2. Junio C HamanoFeb 5, 2026
  3. merge-file: honor merge.conflictStyle outside of a repositoryYannik Tausch, Feb 5, 2026
  4. Junio C HamanoFeb 5, 2026
  5. Kristoffer HaugsbakkFeb 5, 2026
  6. Yannik TauschFeb 5, 2026
  7. Junio C HamanoFeb 6, 2026
  8. Yannik TauschFeb 7, 2026
  9. merge-file: honor merge.conflictStyle outside of a repositoryYannik Tausch, Feb 7, 2026
  10. Kristoffer HaugsbakkFeb 7, 2026
  11. Patrick SteinhardtFeb 9, 2026
  12. Junio C HamanoFeb 9, 2026

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.