Commit f2dd780737c47f6d92e6fe01cbd51bf93c91b3b3

Omar Polo 2022-05-17T13:28:02

got patch: avoid open/sync/close the fileindex over and over again Instead of flushing the fileindex after every patch in the patchfile just reuse the same fileindex and sync it only at the end of the patch operation. This speeds up 'got patch' on large repositories by quite a lot.