Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
read-cache: fix index corruption with index v4
[gitweb.git]
/
repository.c
diff --git
a/repository.c
b/repository.c
index edca9074046ab1ca9826d2479bcca11018ba1873..1617467568c76e685d5f852c27ca16f26ed0494c 100644
(file)
--- 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;