summaryrefslogtreecommitdiff
path: root/tests/odb/backend/backend_helpers.h
diff options
context:
space:
mode:
authorYoichi Nakayama <yoichi.nakayama@gmail.com>2021-11-23 10:12:29 +0900
committerYoichi Nakayama <yoichi.nakayama@gmail.com>2021-11-23 10:20:04 +0900
commit7bb206a76dca70b7db236315d348c6c9fc325cab (patch)
treee38bb2d225746de8343db08837840e84aad3ece0 /tests/odb/backend/backend_helpers.h
parent540b02f3b97baf2bc1d62210a23d522b5d73e5eb (diff)
parentf9c4dc10d90732cfbe2271dd58b01dd8f4003d15 (diff)
downloadlibgit2-7bb206a76dca70b7db236315d348c6c9fc325cab.tar.gz
Merge branch 'main' into better-compatiblity-for-at-time-notation
Conflicts: src/revparse.c
Diffstat (limited to 'tests/odb/backend/backend_helpers.h')
-rw-r--r--tests/odb/backend/backend_helpers.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/odb/backend/backend_helpers.h b/tests/odb/backend/backend_helpers.h
index 5c393c0a5..32d7a8bf0 100644
--- a/tests/odb/backend/backend_helpers.h
+++ b/tests/odb/backend/backend_helpers.h
@@ -13,10 +13,12 @@ typedef struct {
int read_calls;
int read_header_calls;
int read_prefix_calls;
+ int refresh_calls;
const fake_object *objects;
} fake_backend;
int build_fake_backend(
git_odb_backend **out,
- const fake_object *objects);
+ const fake_object *objects,
+ bool support_refresh);