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

Re: [PATCH 08/11] Allow for having for_each_ref() list some refs that aren't local

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Mar 8, 2008, 23:25 UTC
Message-ID
<alpine.LNX.1.00.0803081823230.19665@iabervon.org>
In-Reply-To
<alpine.LSU.1.00.0803090020430.3975@racer.site>
On Sun, 9 Mar 2008, Johannes Schindelin wrote:
Show 16 quoted lines
> Hi,
> 
> On Sat, 8 Mar 2008, Daniel Barkalow wrote:
> 
> > This is useful, for example, for listing the refs in a reference 
> > repository during clone, when you don't have your own refs that cover 
> > the objects that are in your alternate repository.
> 
> How about this commit oneline instead:
> 
> 	for_each_ref(): Allow adding extra refs to be traversed
> 
> Hmm?
> 
> You can explain in the body that the SHA-1s are not verified locally, so 
> that you can add extra refs that do not reference local objects.

The non-local aspect is actually that the repository's refs doesn't actually include them. We actually do have these objects, in an alternate repo. Clearly I need a better commit message, with this info not trying to fit in the first line.

	-Daniel
*This .sig left intentionally blank*
Previous: Johannes SchindelinNext: Junio C Hamano
Message 3 of 5 in “Allow for having for_each_ref() list some refs that aren't local”
  1. 08/11 Allow for having for_each_ref() list some refs that aren't localDaniel Barkalow, Mar 8, 2008
  2. Johannes SchindelinMar 8, 2008
  3. Daniel BarkalowMar 8, 2008
  4. Junio C HamanoMar 9, 2008
  5. Daniel BarkalowMar 9, 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.