summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-02-14 05:48:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-14 23:26:14 (GMT)
commit784c0daed5435a7ea0630e64e424837e49e30148 (patch)
treee0b2a4a28f4a8873c2b48cc644228eaf615e8aaa /diff.h
parent2d08f3deb9feb73dc8d21d75bfd367839fc1322c (diff)
downloadgit-784c0daed5435a7ea0630e64e424837e49e30148.zip
git-784c0daed5435a7ea0630e64e424837e49e30148.tar.gz
git-784c0daed5435a7ea0630e64e424837e49e30148.tar.bz2
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.h')
-rw-r--r--diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.h b/diff.h
index b512d04..8f55aad 100644
--- a/diff.h
+++ b/diff.h
@@ -367,7 +367,7 @@ int git_config_rename(const char *var, const char *value);
#define DIFF_PICKAXE_IGNORE_CASE 32
void diffcore_std(struct diff_options *);
-void diffcore_fix_diff_index(struct diff_options *);
+void diffcore_fix_diff_index(void);
#define COMMON_DIFF_OPTIONS_HELP \
"\ncommon diff options:\n" \