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:

committed by
Junio C Hamano

parent
32c597e7b2
commit
fbfd0a2915
@ -980,7 +980,7 @@ static struct ref_store *files_ref_store_create(const char *submodule)
|
||||
struct files_ref_store *refs = xcalloc(1, sizeof(*refs));
|
||||
struct ref_store *ref_store = (struct ref_store *)refs;
|
||||
|
||||
base_ref_store_init(ref_store, &refs_be_files, submodule);
|
||||
base_ref_store_init(ref_store, &refs_be_files);
|
||||
|
||||
refs->submodule = submodule ? xstrdup(submodule) : "";
|
||||
|
||||
|
Reference in New Issue
Block a user