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

Re: [PATCH] Use stdin reflist passing in git-fetch.sh

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Feb 13, 2007, 02:31 UTC
Message-ID
<Pine.LNX.4.64.0702121830270.8424@woody.linux-foundation.org>
In-Reply-To
<11713297023551-git-send-email-julian@quantumfyre.co.uk>
On Tue, 13 Feb 2007, Julian Phillips wrote:
>
> Use the new stdin reflist passing mechanism for the call to
> fetch--tool parse-reflist, allowing passing of more than ~128K
> of reflist data.
This pretty much seems to assume that "echo" is a shell built-in.
Otherwise, the
	echo "$1"
part will still fall afoul of any exec limits.

Maybe that's aperfectly fine assumption. It's certainly true for bash (and probably _any_ shells that do any built-ins at all - echo is pretty damn basic ;)

		Linus
Previous: Julian PhillipsNext: Junio C Hamano
Message 5 of 8 in “Fix git fetch for very large ref counts”
  1. Fix git fetch for very large ref countsJulian Phillips, Feb 13, 2007
  2. Allow fetch--tool to read from stdinJulian Phillips, Feb 13, 2007
  3. Use stdin reflist passing in parse-remoteJulian Phillips, Feb 13, 2007
  4. Use stdin reflist passing in git-fetch.shJulian Phillips, Feb 13, 2007
  5. Linus TorvaldsFeb 13, 2007
  6. Junio C HamanoFeb 13, 2007
  7. Julian PhillipsFeb 13, 2007
  8. Junio C HamanoFeb 13, 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.