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