core-git detects the whole file.
jgit detects 8000 bytes.
So we need to make it configurable.