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

Re: send-pack: limit on negative references

From
Junio C Hamano <junkio@cox.net>
Date
Sep 5, 2006, 16:23 UTC
Message-ID
<7vwt8igu4u.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<44FD714F.9040003@shadowen.org>
Andy Whitcroft <apw@shadowen.org> writes:
> I've been having trouble with git push apparently resending the entire
> commit trace for the branch each and every time I push; even with short
> branch names.  This seems to be related to the changes made to handle
> the case where the remote end has a large number of branches (>900).

I think the right fix is to do one or both of the following, and lift that 900 cut-off entirely.

One is to teach rev-list to read the information it is taking from the command line instead from its standard input.

Another is to teach pack-object the same trick on top of my patch last night. This has an added benefit that we save one pipe+fork+exec there.

These are essentially suggestions from Linus made twice separately in the past, so they must be on the right track ;-).

If nobody does, I would do it myself, but the list is welcome to beat me to it. Especially, the former (giving --stdin option to rev-list) should be trivial.

Previous: Andy WhitcroftNext: Andy Whitcroft
Message 2 of 8 in “send-pack: limit on negative references”
  1. Andy WhitcroftSep 5, 2006
  2. Junio C HamanoSep 5, 2006
  3. Andy WhitcroftSep 5, 2006
  4. 1/2 rev list add option accepting revision constraints on standard inputAndy Whitcroft, Sep 5, 2006
  5. Junio C HamanoSep 5, 2006
  6. Andy WhitcroftSep 6, 2006
  7. Junio C HamanoSep 6, 2006
  8. 2/2 send pack switch to using git rev list stdinAndy Whitcroft, Sep 5, 2006

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.