diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-06-23 23:30:58 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-06-23 23:30:58 -0400 |
commit | bd670abd23944a20c6a84978ea590c8fd4258cb2 (patch) | |
tree | df51120cb908816edcc098da00c433b51f28fbf4 /tests/diff/workdir.c | |
parent | 8351abc7822c38f597bf0ee07f0f293a4f62b1f3 (diff) | |
parent | bb4896f22c9199e88b25a47ee4389a7e778d9d7f (diff) | |
download | libgit2-bd670abd23944a20c6a84978ea590c8fd4258cb2.tar.gz |
Merge pull request #3226 from libgit2/cmn/racy-diff-again
racy-git, the missing link
Diffstat (limited to 'tests/diff/workdir.c')
-rw-r--r-- | tests/diff/workdir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/diff/workdir.c b/tests/diff/workdir.c index ecc556ce2..13de6a98b 100644 --- a/tests/diff/workdir.c +++ b/tests/diff/workdir.c @@ -1623,6 +1623,8 @@ void test_diff_workdir__can_update_index(void) /* now if we do it again, we should see fewer OID calculations */ + /* tick again as the index updating from the previous diff might have reset the timestamp */ + tick_index(index); basic_diff_status(&diff, &opts); cl_git_pass(git_diff_get_perfdata(&perf, diff)); |