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

Re: tracking repository

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 16, 2008, 20:38 UTC
Message-ID
<7vwso2ieuu.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1205697779.12760.20.camel@duo>
kenneth johansson <ken@kenjo.org> writes:
Show 6 quoted lines
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 	fetch = +refs/heads/*:refs/heads/*
> [remote "stable_2.6.12"]
> 	url =
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.12.y.git
> 	fetch = +refs/heads/*:refs/heads/stable_2.6.12_*

Daniel, I think we are looking at a regression. The latter style, * at the end but not immediately following a slash, should never have worked. Wildcard expansion function should be erroring out when it sees something like this.

Once we fix that regression, the above would stop working (in)correctly. Rewrite it to something like this right now will make it keep working:

 	fetch = +refs/heads/*:refs/heads/stable_2.6.12/*
Previous: kenneth johanssonNext: Daniel Barkalow
Message 4 of 16 in “tracking repository”
  1. kenneth johanssonMar 15, 2008
  2. Junio C HamanoMar 16, 2008
  3. kenneth johanssonMar 16, 2008
  4. Junio C HamanoMar 16, 2008
  5. Daniel BarkalowMar 16, 2008
  6. Junio C HamanoMar 16, 2008
  7. Daniel BarkalowMar 16, 2008
  8. Junio C HamanoMar 16, 2008
  9. Junio C HamanoMar 16, 2008
  10. Daniel BarkalowMar 16, 2008
  11. Junio C HamanoMar 17, 2008
  12. Junio C HamanoMar 17, 2008
  13. Daniel BarkalowMar 17, 2008
  14. Daniel BarkalowMar 17, 2008
  15. Junio C HamanoMar 17, 2008
  16. Daniel BarkalowMar 17, 2008

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.