Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git commit "fatal: unable to generate diffstat"

While attempting to commit a modified CSV file (12.4MB, ~164k lines), I received the titular error message. There's only 2 results in Google for that message: 1) the source code that throws it and 2) a dead link.

Any ideas? I'm working both from the Github-provided git shell, as well as from the git client within PyCharm.

I also cannot run a standard diff on that file from the command line, but I can from within PyCharm.

like image 235
Dave Novelli Avatar asked Aug 24 '16 17:08

Dave Novelli


1 Answers

I have experiment similar problem.

My solution was to commit with quiet option : git commit -q

like image 62
Emmanuel DUMAS Avatar answered Oct 18 '22 08:10

Emmanuel DUMAS