diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-06-28 15:53:09 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-28 15:53:10 -0700 |
| commit | a5adab9b16efbcc82f9168f3c3ae18a74a567bf3 (patch) | |
| tree | f14808046d694585b5cb9d5ad86135c3df8e00ab | |
| parent | fc636b413b9cc8b7e1e36f5553ac7a22ad28e7ad (diff) | |
| parent | a5a4cb7b278b53a6c490dd249eadedb4cc306fab (diff) | |
| download | git-a5adab9b16efbcc82f9168f3c3ae18a74a567bf3.tar.gz | |
Merge branch 'rs/diff-parseopts-cleanup' into maint-2.45
Code clean-up to remove code that is now a noop.
* rs/diff-parseopts-cleanup:
diff-lib: stop calling diff_setup_done() in do_diff_cache()
| -rw-r--r-- | diff-lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/diff-lib.c b/diff-lib.c index 683f11e509..12b1541478 100644 --- a/diff-lib.c +++ b/diff-lib.c @@ -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)) |
