threads / discuss / 22820

gitk says "file name too long"

Subject: gitk says "file name too long"

## tl;dr

2 messages between Feb 25, 2010 and Mar 21, 2013.

replies: 1people: 2as markdown or json

Sebastian Schuberth· Feb 25, 2010, 13:44 UTC · lore
Hi,

I'm having the same problem in msysGit as already described here in the msysGit issue tracker:

http://code.google.com/p/msysgit/issues/detail?id=387

The problem seems to be that for some reason gitk is launching "git rev-list" (in $cmd) with a ton of IDs (in $ids), resulting in a command line that is too long. So the error message does not come from gitk / tk, but from git rev-list. I'm getting the same error (argument list too long) if I manually enter the command at the shell.

Is anyone else experiencing this and has a solution? Is the problem rather that the list of IDs is wrong (and thus too long), or do we need to find a work-around to pass auch long command lines to git rev-list?

Thanks.
-- 
Sebastian Schuberth
steven Loker· Mar 21, 2013, 06:39 UTC · re: Sebastian Schuberth · lore

Re: gitk says "file name too long"

Use LongPathTool. If u had problem with files i suggest this software. 
http://LongPathTool.com

-- View this message in context: http://git.661346.n2.nabble.com/gitk-says-file-name-too-long-tp4632510p7580237.html Sent from the git mailing list archive at Nabble.com.

← back to recent threads