]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/fast-export.c
tree-diff: convert diff_root_tree_sha1 to struct object_id
[thirdparty/git.git] / builtin / fast-export.c
index 24e29ad7eab5edc0964a51f32602b062daabb907..e242726f08e2397c8875e0d1794d58561ac4ecd9 100644 (file)
@@ -566,8 +566,8 @@ static void handle_commit(struct commit *commit, struct rev_info *rev)
                               commit->tree->object.oid.hash, "", &rev->diffopt);
        }
        else
-               diff_root_tree_sha1(commit->tree->object.oid.hash,
-                                   "", &rev->diffopt);
+               diff_root_tree_oid(&commit->tree->object.oid,
+                                  "", &rev->diffopt);
 
        /* Export the referenced blobs, and remember the marks. */
        for (i = 0; i < diff_queued_diff.nr; i++)