I ran into this today for the first time. As hugeandy mentions, it was only private new/added files that was giving it trouble, everything else was able to commit together normally. However, I found a workaround of only commiting 1-2 files at a time seemed to work (not 100% but most of the time).