diff options
Diffstat (limited to 'repository.c')
-rw-r--r-- | repository.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.c b/repository.c index edca907404..1617467568 100644 --- a/repository.c +++ b/repository.c @@ -158,7 +158,7 @@ int repo_submodule_init(struct repository *submodule, struct strbuf worktree = STRBUF_INIT; int ret = 0; - sub = submodule_from_cache(superproject, null_sha1, path); + sub = submodule_from_cache(superproject, &null_oid, path); if (!sub) { ret = -1; goto out; |