]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diff-lib.c
The fourth batch
[thirdparty/git.git] / diff-lib.c
index 683f11e50953a659dcdb075ce84eb92a19064077..12b1541478e35d88fa4bfb87f646f61c69e0a30b 100644 (file)
@@ -660,7 +660,6 @@ int do_diff_cache(const struct object_id *tree_oid, struct diff_options *opt)
 
        repo_init_revisions(opt->repo, &revs, NULL);
        copy_pathspec(&revs.prune_data, &opt->pathspec);
-       diff_setup_done(&revs.diffopt);
        revs.diffopt = *opt;
 
        if (diff_cache(&revs, tree_oid, NULL, 1))