• Show log

    Commit

  • Hash : db853748
    Author : Pierre-Olivier Latour
    Date : 2015-04-15T15:28:03

    Fixed GIT_DIFF_UPDATE_INDEX not being aware of executable bit changes
    
    In the prior implementation, enabling GIT_DIFF_UPDATE_INDEX would overwrite
    entries in the index with the ones generated from scanning the working if the
    OID was the same.
    
    Because this OID comparison ignores file modes, this means an file in the
    workdir with only an exec bit difference with the one in the index would end
    up being overwritten, resulting in the exec bit being loss. There might be
    other related bugs but the fix of comparing OIDs and file modes should
    address them all.