aboutsummaryrefslogtreecommitdiff
path: root/refs/refs-internal.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-02-10 12:16:17 +0100
committerJunio C Hamano <gitster@pobox.com>2017-02-10 11:13:26 -0800
commitfbfd0a291596a698773d3f687af3ab4c36a841bf (patch)
treefd6d0137633ec9f0bb10d9dd43fc1766f7a8c0e4 /refs/refs-internal.h
parent32c597e7b2d85c1ae313e369b21398638cafe45d (diff)
downloadgit-fbfd0a291596a698773d3f687af3ab4c36a841bf.tar.gz
git-fbfd0a291596a698773d3f687af3ab4c36a841bf.tar.xz
base_ref_store_init(): remove submodule argument
This is another step towards weakening the 1:1 relationship 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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 008822d67..793c850e9 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -632,12 +632,11 @@ struct ref_store {
};
/*
- * Fill in the generic part of refs for the specified submodule and
- * add it to our collection of reference stores.
+ * Fill in the generic part of refs and add it to our collection of
+ * reference stores.
*/
void base_ref_store_init(struct ref_store *refs,
- const struct ref_storage_be *be,
- const char *submodule);
+ const struct ref_storage_be *be);
/*
* Return the ref_store instance for the specified submodule. For the