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

Re: cannot handle more than 29 refs

From
JNJon Nelson <jnelson-git@jamponi.net>
Date
Dec 27, 2005, 20:49 UTC
Message-ID
<Pine.LNX.4.63.0512271448130.6812@gheavc.wnzcbav.cig>
In-Reply-To
<Pine.LNX.4.64.0512271113290.14098@g5.osdl.org>
On Tue, 27 Dec 2005, Linus Torvalds wrote:
Show 16 quoted lines
> 
> 
> On Tue, 27 Dec 2005, Jon Nelson wrote:
> > 
> > I get this message whenever I use --tags with git-pull with certain 
> > repositories.
> 
> You shouldn't "pull" tags. You should just "fetch" them.
> 
> The error message comes from the fact that the pull is a "fetch + merge", 
> and the merge logic tries to figure out what the common parent is with 
> "git-show-branch". And the common parent finding is limited to 29 commits.
> 
> (Which is a very reasonable limit: the normal case is 2, and doing an 
> octopus-merge with more than four or five parents is already insane. Much 
> less 30 parents).

^^^ Aha! I think I understand what's going on here - and you are right, I *don't* want to merge from all of those tags, I just want the content, so fetch is what I should be doing. Thanks!

-- Jon Nelson <jnelson-git@jamponi.net>

Previous: Junio C Hamano
Message 5 of 5 in “cannot handle more than 29 refs”
  1. Jon NelsonDec 27, 2005
  2. Junio C HamanoDec 27, 2005
  3. Linus TorvaldsDec 27, 2005
  4. Junio C HamanoDec 27, 2005
  5. Jon NelsonDec 27, 2005

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.