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

Re: [ANNOUNCE] Git v2.4.0-rc2

From
Jeff King <peff@peff.net>
Date
Apr 16, 2015, 02:22 UTC
Message-ID
<20150416022216.GA30991@peff.net>
In-Reply-To
<CAGyf7-H_Njn8poGKnvgjq+0bKhHfs7S7qaFkDHsqa4NVUjt4EA@mail.gmail.com>
[side note: please trim your quoted material when doing inline quoting]
On Thu, Apr 16, 2015 at 12:05:57PM +1000, Bryan Turner wrote:
Show 12 quoted lines
> >       merge: pass verbosity flag down to merge-recursive
> 
> I'm pretty confident this change is working as intended, but the
> intended change is causing a regression in behavior for me. I'll
> readily admit that my workflow is probably wrong, but I thought
> perhaps it would be worth surfacing.
>
> [...]
> If the goal of passing the verbosity flag down was to fix git merge
> --quiet, should the "Automatic merge failed" line also be omitted? But
> if that line should _stay_, wouldn't it be better for the "CONFLICT"
> lines to also stay?

Yeah, I feared there might be fallouts like this. We are somewhat blindly passing down the "--quiet" flag without doing a careful audit of the severity levels in merge-recursive. Potentially we would want a few levels of verbosity:

  -2: totally silent (-q -q)
  -1: silence chat, mention important errors like CONFLICT markers (-q)
   0: current defaults
   1: more verbosity (-v, what is currently level "3", I guess?)
  >1: and so on with more "-v"; I don't even know what levels are used

That's off the top of my head. I think it really needs somebody to look through and categorize all of the messages generated by merge-recursive. In the meantime, unless somebody is planning to jump on this topic immediately (I am not), I think we can revert 2bf15a3330a from master. It's definitely fixing _a_ problem, but it's one we've lived with for many years already.

-Peff
Previous: Bryan TurnerNext: Randall S. Becker
Message 3 of 5 in “[ANNOUNCE] Git v2.4.0-rc2”
  1. Junio C HamanoApr 14, 2015
  2. Bryan TurnerApr 16, 2015
  3. Jeff KingApr 16, 2015
  4. Randall S. BeckerApr 16, 2015
  5. Junio C HamanoApr 16, 2015

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.