Do you know if there's an easy way to do this without running git gc? Say by just supplying a diff or something?
In particular I'm thinking of the case where there's an append-only file keeping a log, to commit the changes every so often without having to make a blob copy of the file first (which may be relatively large)?