* Gitk: "argument list too long"
@ 2014-12-19 17:32 Nicolas Pennequin (npennequ)
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Pennequin (npennequ) @ 2014-12-19 17:32 UTC (permalink / raw)
To: git@vger.kernel.org
Hi,
I¹m having some trouble with gitk on Mac using a very large repository
(chromium/src).
I¹m using git version 2.2.1 from Homebrew.
The error details are the following:
couldn't execute "git": argument list too long
couldn't execute "git": argument list too long
while executing
"open [concat $cmd $ids] r"
(procedure "getallcommits" line 47)
invoked from within
"getallcommits"
(procedure "readcache" line 80)
invoked from within
"readcache file10"
("eval" body line 1)
invoked from within
"eval $script"
(procedure "dorunq" line 11)
invoked from within
"dorunq"
("after" script)
Regards,
Nicolas
^ permalink raw reply [flat|nested] 2+ messages in thread
* gitk: "argument list too long"
@ 2015-06-15 18:25 Chris Cowan
0 siblings, 0 replies; 2+ messages in thread
From: Chris Cowan @ 2015-06-15 18:25 UTC (permalink / raw)
To: git
I've recently had an issue where running "gitk --all" has stopped
working on a large repository of mine. Gitk's main window appears with
all of the sections empty, and a modal tells me 'Error executing git
log: couldn't execute "git": argument list too long'.
I'm on OS X, and am running git version 2.4.3 installed via homebrew.
"getconf ARG_MAX" tells me that the maximum argument length is 262144
bytes. "git tag|wc -l" tells me that there 5271 tags in the repo, and
more are added regularly. I think that's what set it over recently.
For now I've worked around the issue by running "gitk --branches"
instead.
I searched for other mentions of this issue, and found this issue from
I think this same mailing list:
http://www.spinics.net/lists/git/msg243731.html . Trying to run "gitk
--all" in the chromium git repo (available at
https://chromium.googlesource.com/chromium/src.git) gives me the same
issue too always as Nicolas reported.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-15 18:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19 17:32 Gitk: "argument list too long" Nicolas Pennequin (npennequ)
-- strict thread matches above, loose matches on Subject: below --
2015-06-15 18:25 gitk: " Chris Cowan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).