gitk: argument list too long

2015-06-15 Thread Chris Cowan
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.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gitk: argument list too long

2014-12-19 Thread Nicolas Pennequin (npennequ)
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

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html