diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-02-10 14:16:16 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-10 22:13:26 +0300 |
commit | 32c597e7b2d85c1ae313e369b21398638cafe45d (patch) | |
tree | b06ad5e6da8b31eb950573d63e19047ad66d246c /refs/refs-internal.h | |
parent | 7d4558c462f0d1a280abec59e8c64a2f2b42a9f2 (diff) |
refs: push the submodule attribute down
Push the submodule attribute down from ref_store to files_ref_store.
This is another step towards loosening the 1:1 connection between
ref_stores and submodules.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r-- | refs/refs-internal.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h index 07fd208f2c..008822d67c 100644 --- a/refs/refs-internal.h +++ b/refs/refs-internal.h @@ -629,13 +629,6 @@ extern struct ref_storage_be refs_be_files; struct ref_store { /* The backend describing this ref_store's storage scheme: */ const struct ref_storage_be *be; - - /* - * The name of the submodule represented by this object, or - * the empty string if it represents the main repository's - * reference store: - */ - const char *submodule; }; /* @@ -658,10 +651,4 @@ void base_ref_store_init(struct ref_store *refs, */ struct ref_store *get_ref_store(const char *submodule); -/* - * Die if refs is for a submodule (i.e., not for the main repository). - * caller is used in any necessary error messages. - */ -void assert_main_repository(struct ref_store *refs, const char *caller); - #endif /* REFS_REFS_INTERNAL_H */ |