Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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#L19...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: