summaryrefslogtreecommitdiff
path: root/refs/refs-internal.h
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2020-08-19 14:27:57 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-19 14:08:04 -0700
commit5085aef4c8e569e5d688d9f35790a2ca2c2f4c11 (patch)
tree1e632eb35942496cb1bf7067438cba8cd0451f6d /refs/refs-internal.h
parentrefs: fix comment about submodule ref_stores (diff)
downloadtgif-5085aef4c8e569e5d688d9f35790a2ca2c2f4c11.tar.xz
refs: move gitdir into base ref_store
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r--refs/refs-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 9188ddbec2..527b0a6e2e 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -672,6 +672,9 @@ extern struct ref_storage_be refs_be_packed;
struct ref_store {
/* The backend describing this ref_store's storage scheme: */
const struct ref_storage_be *be;
+
+ /* The gitdir that this ref_store applies to: */
+ char *gitdir;
};
/*