Makefile: add style build rule
[gitweb.git] / repository.c
index edca9074046ab1ca9826d2479bcca11018ba1873..1617467568c76e685d5f852c27ca16f26ed0494c 100644 (file)
@@ -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;