]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sha1_name.c
sha1_file: add repository argument to prepare_alt_odb
[thirdparty/git.git] / sha1_name.c
index ffff7d8710bf2f61366b2e21d9fc9fd3dfc13dcb..4325f74e0cbdb2502887b1c80ad18b88c23bba5d 100644 (file)
@@ -354,7 +354,7 @@ static int init_object_disambiguation(const char *name, int len,
 
        ds->len = len;
        ds->hex_pfx[len] = '\0';
-       prepare_alt_odb();
+       prepare_alt_odb(the_repository);
        return 0;
 }