diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-07-13 23:49:20 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-17 13:54:37 -0700 |
commit | cd73de47148c16760a62fa3f75cafe015ca764b2 (patch) | |
tree | 307e99cfba18e3b880af01bf9656a961298439fd /repository.c | |
parent | builtin/merge-tree: convert remaining caller of get_sha1 to object_id (diff) | |
download | tgif-cd73de47148c16760a62fa3f75cafe015ca764b2.tar.xz |
submodule: convert submodule config lookup to use object_id
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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; |