• Show log

    Commit

  • Hash : 0d65acad
    Author : Russell Belfer
    Date : 2013-01-11T11:24:26

    Match binary file check of core git in diff
    
    Core git just looks for NUL bytes in files when deciding about
    is-binary inside diff (although it uses a better algorithm in
    checkout, when deciding if CRLF conversion should be done).
    Libgit2 was using the better algorithm in both places, but that
    is causing some confusion.  For now, this makes diff just look
    for NUL bytes to decide if a file is binary by content in diff.