diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-16 08:51:45 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-16 08:51:45 +0200 |
| commit | e44abe16bd20512c76331e6889f390e35993153a (patch) | |
| tree | 8a36e5be8f9a2c32d65a77796b919bbfcf77da07 /tests/checkout/checkout_helpers.h | |
| parent | c4e6ab5f23819c35dc0c1a0fd7f50e5a194f0d5a (diff) | |
| download | libgit2-e44abe16bd20512c76331e6889f390e35993153a.tar.gz | |
tests: tick the index when we count OID calculations
These tests want to test that we don't recalculate entries which match
the index already. This is however something we force when truncating
racily-clean entries.
Tick the index forward as we know that we don't perform the
modifications which the racily-clean code is trying to avoid.
Diffstat (limited to 'tests/checkout/checkout_helpers.h')
| -rw-r--r-- | tests/checkout/checkout_helpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/checkout/checkout_helpers.h b/tests/checkout/checkout_helpers.h index 705ee903d..6058a196c 100644 --- a/tests/checkout/checkout_helpers.h +++ b/tests/checkout/checkout_helpers.h @@ -27,3 +27,5 @@ extern int checkout_count_callback( const git_diff_file *target, const git_diff_file *workdir, void *payload); + +extern void tick_index(git_index *index); |
