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

Re: warning merge message

From
Junio C Hamano <junkio@cox.net>
Date
Dec 22, 2006, 23:00 UTC
Message-ID
<7vy7ozv8lz.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200612222349.54363.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes:
Show 8 quoted lines
> In a previous discussion, you talked about switching to
> the new behavior (ie. getting rid of this "first set of
> branches" rule) when there is at least one branch.*.merge
> setting in the config file.
>
> Unfortunately I can not see an easy way to check this with
> repo-config, as there is no wildcard support for keys
> (Ok, I can do a list of keys and grep).

I think --get-regexp is what you want -- see my "patch for discussion".

> I think it is better to provide an option
> "pull.do-not-follow-the-first-set-of-branches-rule".
> And we should make this the default after init-db or clone.
Yes, but the problem is that old timers do make new clones.
pull.i-like-the-first-set-of-branches in ~/.gitconfig is the
only thing I can think of but that is too ugly and is already on
the slippery slope of user.expert configuration which I do not
think we want.
 
Previous: Josef WeidendorferNext: Josef Weidendorfer
Message 10 of 11 in “warning merge message”
  1. Luben TuikovDec 20, 2006
  2. Johannes SchindelinDec 21, 2006
  3. Luben TuikovDec 22, 2006
  4. Shawn PearceDec 22, 2006
  5. Junio C HamanoDec 22, 2006
  6. Junio C HamanoDec 22, 2006
  7. Josef WeidendorferDec 22, 2006
  8. Junio C HamanoDec 22, 2006
  9. Josef WeidendorferDec 22, 2006
  10. Junio C HamanoDec 22, 2006
  11. Josef WeidendorferDec 23, 2006

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.