In the case of git, I donβt know an easy way to override the binary deltas calculation method, which are used for efficient storage in pack files. (Pack files are generated with most transports to efficiently transport data to and from the server.)
However, you can see the bup project for git. This involves directly collecting git pack files for the case of using git to back up huge amounts of data. This is similar to what you want to do.
[I understand that you explicitly exclude this in your question, but if another reader finds this question that is interested in the good binary distinguishable for the user, I will point out this useful example from Pro Git .]
Mark longair
source share