diff options
Diffstat (limited to 't')
-rw-r--r-- | t/helper/test-submodule-config.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/helper/test-submodule-config.c b/t/helper/test-submodule-config.c index 9971c5e9dd..e044871cee 100644 --- a/t/helper/test-submodule-config.c +++ b/t/helper/test-submodule-config.c @@ -48,9 +48,11 @@ int cmd_main(int argc, const char **argv) die_usage(argc, argv, "Commit not found."); if (lookup_name) { - submodule = submodule_from_name(&commit_oid, path_or_name); + submodule = submodule_from_name(the_repository, + &commit_oid, path_or_name); } else - submodule = submodule_from_path(&commit_oid, path_or_name); + submodule = submodule_from_path(the_repository, + &commit_oid, path_or_name); if (!submodule) die_usage(argc, argv, "Submodule not found."); |