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

t5515 in general

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jun 17, 2007, 06:06 UTC
Message-ID
<Pine.LNX.4.64.0706170034540.4740@iabervon.org>

It looks to me like t5515 enshrines a number of infelicities in the current fetch code. For example, if you have a branch configuration which specifies a remote that's configured through a branches/* file, and you have a merge setting for the branch, it's ignored, and we test that it's ignored with a whole bunch of tests. I think that the behavior here should either be unspecified, or we should make it more generally consistant (i.e., if you specify any "merge" items, this overrides the default of using the first refspec, even if the first refspec is implicit in the fact that you're using a branches/* file, which automatically only has the configured refspec refs/heads/master:). Or leave it unspecified and untested, since neither option is actually useful.

This makes me think that a lot of t5515 was done by putting together a bunch of configurations and automatically making tests for them without checking whether the current behaviour is actually something we want, or whether the configuration even could do anything sensible in the first place. So it might be worth going through that set and eliminating anything not actually predicted by the documentation.

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