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

Re: Possible regression in ref advertisement

From
Carlos Martín Nieto <cmn@elego.de>
Date
Feb 25, 2013, 19:54 UTC
Message-ID
<1361822092.30765.12.camel@centaur.cmartin.tk>
In-Reply-To
<7vip5gxkgy.fsf@alter.siamese.dyndns.org>
On Mon, 2013-02-25 at 11:27 -0800, Junio C Hamano wrote:
Show 15 quoted lines
> Carlos Martín Nieto <cmn@elego.de> writes:
> 
> > On Mon, 2013-02-25 at 10:31 -0800, Junio C Hamano wrote:
> > ...
> >> Interesting.  "git ls-remote . | grep 1.8.0-" for maint, master,
> >> next and pu produce identical results for me, all showing peeled
> >> ones correctly.
> >
> > Bisection leads me to Peff's 435c8332 (2012-10-04; upload-pack: use
> > peel_ref for ref advertisements) and reverting that commit brings the
> > -rc3^{} back.
> 
> A shot in the dark, as I do not seem to be able to reproduce the issue
> with anything that contains the commit.  Perhaps your .git/packed-refs
> is corrupt?

My packed-refs file did not end with LF. It seems it must or the parser won't consider the last tag in the file to have a peeled target and mine didn't. I don't how the ended up this way but it looks like there's is a bug in the parser (or does the format force you to have LF at the end?)

   cmn
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 10 in “Possible regression in ref advertisement”
  1. Carlos Martín NietoFeb 25, 2013
  2. Junio C HamanoFeb 25, 2013
  3. Carlos Martín NietoFeb 25, 2013
  4. Junio C HamanoFeb 25, 2013
  5. Carlos Martín NietoFeb 25, 2013
  6. Junio C HamanoFeb 25, 2013
  7. Carlos Martín NietoFeb 25, 2013
  8. Junio C HamanoFeb 25, 2013
  9. Carlos Martín NietoFeb 26, 2013
  10. Junio C HamanoFeb 26, 2013

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.