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>
This commit is contained in:
Michael Haggerty
2017-02-10 12:16:17 +01:00
committed by Junio C Hamano
parent 32c597e7b2
commit fbfd0a2915
3 changed files with 5 additions and 7 deletions

3
refs.c
View File

@ -1477,8 +1477,7 @@ struct ref_store *get_ref_store(const char *submodule)
}
void base_ref_store_init(struct ref_store *refs,
const struct ref_storage_be *be,
const char *submodule)
const struct ref_storage_be *be)
{
refs->be = be;
}