• Show log

    Commit

  • Hash : 77596fcf
    Author : Carlos Martín Nieto
    Date : 2015-06-15T09:51:34

    diff: add failing test for racy-git in the index
    
    We update the index and then immediately change the contents of the
    file. This makes the diff think there are no changes, as the timestamp
    of the file agrees with the cached data. This is however a bug, as the
    file has obviously changed contents.
    
    The test is a bit fragile, as it assumes that the index writing and the
    following modification of the file happen in the same second, but it's
    enough to show the issue.