Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: "Argument list too long" in git remote update (Was: Git and GCC)

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:44:00


On Mon, 17 Dec 2007, Geert Bosch wrote:
With git version 1.5.3.6 on Mac OS X, this results in:
potomac%:~/gcc%git remote update
Updating gcc.gnu.org
/opt/git/bin/git-fetch: line 220: /opt/git/bin/git: Argument list too long
Oops.
Any ideas on what to do to resolve this?
Can you try the current git tree? "git fetch" is built-in these days, and 
that old shell-script that ran "git fetch--tool" on all the refs is no 
more, so most likely the problem simply no longer exists.

But maybe there is some way to raise the argument size limit on OS X. One 
thing to check is whether maybe you have an excessively big environment 
(just run "printenv" to see what it contains) which might be cutting down 
on the size allowed for arguments.

			Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help