]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/helper/test-submodule-nested-repo-config.c
hash: provide per-algorithm null OIDs
[thirdparty/git.git] / t / helper / test-submodule-nested-repo-config.c
index c5fd4527dccba2803d40e440bf7db1b331f5a0c2..e3f11ff5a78fc15b36b22efe05c90ebdac8920f0 100644 (file)
@@ -18,7 +18,7 @@ int cmd__submodule_nested_repo_config(int argc, const char **argv)
 
        setup_git_directory();
 
-       sub = submodule_from_path(the_repository, &null_oid, argv[1]);
+       sub = submodule_from_path(the_repository, null_oid(), argv[1]);
        if (repo_submodule_init(&subrepo, the_repository, sub)) {
                die_usage(argv, "Submodule not found.");
        }