summaryrefslogtreecommitdiff
path: root/doc/bugs/assistant_committer_crash_on_OSX_when_adding_lots_of_files.mdwn
blob: 9fa44710c3dca9da9a8a46e94ef42df8194fcce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
I've had a report of the assistant failing to commit when there are a lot
of files on OSX Yosemite.

<pre>
Committer crashed: git: createProcess: runInteractiveProcess: exec: resource exhausted (Argument list too long)
[2015-03-22 23:14:42 CET] Committer: warning Committer crashed: git: createProcess: runInteractiveProcess: exec: resource exhausted (Argument list too
long)
</pre>

Probably need to tune the command length limit for !linux. --[[Joey]]

> Investigation suggests this is the problem:

	inRepo (Git.LsFiles.notInRepo False $ map changeFile pending)

> If a lot of new files have been added, the `pending` list can be
> arbitrarily large, and this passes it to git ls-files as parameters.a
> 
> It's not the actual commit that fails; that uses Git.Queue and xargs.
> --[[Joey]] 

>> [[fixed|done]] --[[Joey]]