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

Re: warning merge message

From
JWJosef Weidendorfer <josef.weidendorfer@gmx.de>
Date
Dec 22, 2006, 22:49 UTC
Message-ID
<200612222349.54363.Josef.Weidendorfer@gmx.de>
In-Reply-To
<7vodpvy6sf.fsf@assigned-by-dhcp.cox.net>
On Friday 22 December 2006 22:12, Junio C Hamano wrote:
Show 7 quoted lines
> People for a long time observed "the first set of branches" rule
> was often a wrong thing to do while on a branch other than
> 'master' (but we do not want to add hardcoded 'master'
> unnecessarily), and I recently screwed up by changing the logic
> in such a way that everything is marked as not-for-merge unless
> branches.*.merge is not set when pulling from the default
> remote,
Ah, yes.

I saw your patch and thought: Wow, that means to fully throw away the previous behavior, which could upset people ;-) But then I thought: Hmm... probably on purpose, as this "the first set of branches" rule really was strange.

> which was completely bogus and bitten Luben. 

So I see you actually _wanted_ to keep old behavior for existing repositories.

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 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.

Josef
Previous: Junio C HamanoNext: Junio C Hamano
Message 9 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.