ref-filter: fix outdated comment on in_commit_list
[gitweb.git] / line-log.c
index cdc2257db56f7d68412bb456e91854a9e9aa5cd5..437d44c00ae0b9f912e42c927fef7dadd240af34 100644 (file)
@@ -817,8 +817,8 @@ static void queue_diffs(struct line_log_data *range,
        assert(commit);
 
        DIFF_QUEUE_CLEAR(&diff_queued_diff);
-       diff_tree_oid(parent ? &parent->tree->object.oid : NULL,
-                     &commit->tree->object.oid, "", opt);
+       diff_tree_oid(parent ? get_commit_tree_oid(parent) : NULL,
+                     get_commit_tree_oid(commit), "", opt);
        if (opt->detect_rename) {
                filter_diffs_for_paths(range, 1);
                if (diff_might_be_rename())