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

config-glob-octopus

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jun 17, 2007, 01:02 UTC
Message-ID
<Pine.LNX.4.64.0706162039530.4740@iabervon.org>
With this configuration:
[remote "config-glob"]
	fetch = refs/heads/one:refs/remotes/rem/one
	fetch = refs/heads/two:refs/remotes/rem/two
	fetch = refs/heads/three:refs/remotes/rem/three
[branch "br-config-glob-octopus"]
	remote = config-glob
	merge = refs/heads/one
	merge = two
	merge = remotes/rem/three

It seems to me like "two" should be marked for merge, since "two" canonicalizes to "refs/heads/two", which matches the pattern and is fetched. However, current git-fetch marks it not-for-merge, and the test demands this.

Shouldn't the value of "merge" permit the same shortcuts that the lhs of "fetch" permits, even if the matching fetch line isn't using them in this case? (And vice versa, for a canonical value of merge when the fetch is a shortcut)

	-Daniel
*This .sig left intentionally blank*
Next: Junio C Hamano
Message 1 of 3 in “config-glob-octopus”
  1. Daniel BarkalowJun 17, 2007
  2. Junio C HamanoJun 17, 2007
  3. Daniel BarkalowJun 17, 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.