2 ms·
> I just looked at the commit and I was surprised at how nice the code is! Most programs detect binary files like this. Here's git's version of the same functi
by teamhappy 9y ago
> I just looked at the commit and I was surprised at how nice the code is!
Most programs detect binary files like this. Here's git's version of the same function: https://github.com/git/git/blob/master/xdiff-interface.c#L198-L204 https://github.com/git/git/blob/master/xdiff-interface.c#L19...