]> git.ipfire.org Git - thirdparty/git.git/blobdiff - submodule.c
Merge branch 'bw/submodule-sans-cache-compat'
[thirdparty/git.git] / submodule.c
index 59372eada822882b9d66e5802e0ec0f1da40568e..29677043174f8d77d6774bc2533b653d03adf990 100644 (file)
@@ -590,7 +590,7 @@ void show_submodule_inline_diff(struct diff_options *o, const char *path,
                struct object_id *one, struct object_id *two,
                unsigned dirty_submodule)
 {
-       const struct object_id *old = &empty_tree_oid, *new = &empty_tree_oid;
+       const struct object_id *old = the_hash_algo->empty_tree, *new = the_hash_algo->empty_tree;
        struct commit *left = NULL, *right = NULL;
        struct commit_list *merge_bases = NULL;
        struct child_process cp = CHILD_PROCESS_INIT;