I know about this question. I already performed my local modifications, however it seem, the official git project perform agit fsck
locally before pushing to origin.
C:\Cygwin\home\example\utils>git push origin master
Warning: Permanently added '196.30.252.130' (RSA) to the list of known hosts.
fatal: Out of memory, malloc failed (tried to allocate 2285522160 bytes)
and the command fails…
The problem is while the pack format allows it (size_t or unsigned long), the official git project use 32 bits signed integers internally for handling tree objects size (limiting to 2Gb).
So is there a command that won’t perform an fsck before pushing ? Or an another project/library (I couldn't found how to do it with libgit2) allowing me to stay on my laptop ?
An alternative would be to get documentation about the git over ssh protocol, so I can implement that part myself.