diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-20 13:17:06 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-22 16:11:58 +0200 |
commit | 5b05f954242a00077eedcdff8f20a820299deef2 (patch) | |
tree | 520198fff318def2c7e3885b57945123304a9035 /tests/diff/binary.c | |
parent | 26432a9c62957957bfca96634de6b1e77052c1c5 (diff) | |
download | libgit2-5b05f954242a00077eedcdff8f20a820299deef2.tar.gz |
merge: work around write-side racy protection when hacking the index
As we attempt to replicate a situation in which an older checkout has
put a file on disk with different filtering settings from us, set the
timestamp on the entry and file to a second before we're performing the
operation so the entry in the index counts as old.
This way we can test that we're not looking at the on-disk file when the
index has the entry and we detect it as clean.
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions