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

Re: builtin-fetch code with messy history

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 19, 2007, 17:38 UTC
Message-ID
<7vodjbx2t2.fsf@assigned-by-dhcp.pobox.com>
In-Reply-To
<Pine.LNX.4.64.0706191239260.4740@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
Show 13 quoted lines
>> >  * when a branch config file section refers to a branches/* remote, the 
>> >    merge setting is used (if one is given), even though this isn't useful 
>> >    either way.
>> 
>> Maybe this is the right time to cut off branches/* and remotes/*?
>
> It's not actually too difficult to support them, except for some weird 
> combination cases that nobody would do anyway. I just made the remote.c 
> config file parser generate the corresponding configurations from them, 
> and the rest of the code doesn't have to care. The only oddity is that I 
> had to support having a remote always auto-follow tags, even without 
> tracking branches, because that's what branches/* did. But this is 
> probably a reasonable thing to support as an option anyway.

We should support repositories with older layouts for an eternity in git timescale (that is usually 6mo to a year) after announcing that they are deprecated (which hasn't happened yet, but I think everybody agrees that deprecating branches/ and remotes/ is a sane thing to do in 1.6.0 or so). Even if we give clear migration path and script, having to convert them all at once is a nuisance for the users.

Previous: Daniel BarkalowNext: Johannes Schindelin
Message 10 of 11 in “builtin-fetch code with messy history”
  1. Daniel BarkalowJun 19, 2007
  2. Johannes SchindelinJun 19, 2007
  3. Alex RiesenJun 19, 2007
  4. Johannes SchindelinJun 19, 2007
  5. Alex RiesenJun 19, 2007
  6. Johannes SchindelinJun 19, 2007
  7. Alex RiesenJun 19, 2007
  8. Jakub NarebskiJun 19, 2007
  9. Daniel BarkalowJun 19, 2007
  10. Junio C HamanoJun 19, 2007
  11. Johannes SchindelinJun 19, 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.