If you are concerned about the amount of data, don’t put it in. This has little to do with the diff algorithm and has a lot to do with git's pack and transmission. Reference: http://git-scm.com/book/zh/Git-%E5%86%85%E9%83%A8%E5%8E%9F%E7%90%86-Packfiles
In addition, I don’t know if the results of minifying your JS source code multiple times using the tool you are using are similar.
If you are concerned about the amount of data, don’t put it in. This has little to do with the diff algorithm and has a lot to do with git's pack and transmission. Reference: http://git-scm.com/book/zh/Git-%E5%86%85%E9%83%A8%E5%8E%9F%E7%90%86-Packfiles
In addition, I don’t know if the results of minifying your JS source code multiple times using the tool you are using are similar.
I don’t really understand, but it seems to be quite big