"Han-Wen Nienhuys via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > diff --git a/builtin/clone.c b/builtin/clone.c > index cb48a291caf..4d0cf065e4a 100644 > --- a/builtin/clone.c > +++ b/builtin/clone.c > @@ -1108,7 +1108,8 @@ int cmd_clone(int argc, const char **argv, const char *prefix) > } > } > > - init_db(git_dir, real_git_dir, option_template, GIT_HASH_UNKNOWN, INIT_DB_QUIET); > + init_db(git_dir, real_git_dir, option_template, GIT_HASH_UNKNOWN, > + DEFAULT_REF_STORAGE, INIT_DB_QUIET); Where does this symbol come from? In addition, this will be overwritten in a later step to default_ref_storage(); perhaps in this step we should use that instead from the beginning?