diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-09-22 22:36:28 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-22 22:36:28 +0300 |
commit | c9a04f036f6d52a2bca1c41bda6ecc1633c8e4cb (patch) | |
tree | 2d3251f00549d0455a0b1ab04587d381a44ee05c /refs/refs-internal.h | |
parent | b7e65b51e53bd43e937bd6238b9ee81412d9080c (diff) | |
parent | 4441f4270758042cc38ce8c04e4350ada743b28a (diff) |
Merge branch 'hn/refs-trace-backend'
Developer support.
* hn/refs-trace-backend:
refs: add GIT_TRACE_REFS debugging mechanism
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r-- | refs/refs-internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h index 87a1201bf9..467f4b3c93 100644 --- a/refs/refs-internal.h +++ b/refs/refs-internal.h @@ -697,4 +697,9 @@ int parse_loose_ref_contents(const char *buf, struct object_id *oid, void base_ref_store_init(struct ref_store *refs, const struct ref_storage_be *be); +/* + * Support GIT_TRACE_REFS by optionally wrapping the given ref_store instance. + */ +struct ref_store *maybe_debug_wrap_ref_store(const char *gitdir, struct ref_store *store); + #endif /* REFS_REFS_INTERNAL_H */ |