diff options
author | Jeff King <peff@peff.net> | 2019-02-14 06:48:03 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-15 00:26:14 +0100 |
commit | 784c0daed5435a7ea0630e64e424837e49e30148 (patch) | |
tree | e0b2a4a28f4a8873c2b48cc644228eaf615e8aaa /diff-lib.c | |
parent | Merge branch 'ea/rebase-compat-doc-fix' (diff) | |
download | git-784c0daed5435a7ea0630e64e424837e49e30148.tar.xz git-784c0daed5435a7ea0630e64e424837e49e30148.zip |
diff: drop options parameter from diffcore_fix_diff_index()
The sole purpose of this function is to fix the sorting order of the
queued diff entries. It doesn't need to know about any diff options, so
we can drop the unused parameter.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
-rw-r--r-- | diff-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-lib.c b/diff-lib.c index 23c8d351b3..a838c219ec 100644 --- a/diff-lib.c +++ b/diff-lib.c @@ -531,7 +531,7 @@ int run_diff_index(struct rev_info *revs, int cached) exit(128); diff_set_mnemonic_prefix(&revs->diffopt, "c/", cached ? "i/" : "w/"); - diffcore_fix_diff_index(&revs->diffopt); + diffcore_fix_diff_index(); diffcore_std(&revs->diffopt); diff_flush(&revs->diffopt); trace_performance_leave("diff-index"); |