summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-11-17 13:45:22 -0800
committerJunio C Hamano <gitster@pobox.com>2016-11-17 13:45:22 -0800
commit6d40812e4b5d2128665351f4b427c7da7c7d86d5 (patch)
treef2c2fa0d1fd83856dda5d68afcab485e2d3ac387 /diff.c
parent6846e8734d3c9e4d6cbe8a8ba27dae414aa5aff1 (diff)
parent974e0044d65dc22e8137e93b8ea13aec23d3a5a3 (diff)
downloadgit-6d40812e4b5d2128665351f4b427c7da7c7d86d5.tar.gz
Merge branch 'tk/diffcore-delta-remove-unused'
Code cleanup. * tk/diffcore-delta-remove-unused: diffcore-delta: remove unused parameter to diffcore_count_changes()
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 8981477c43..ec8728362d 100644
--- a/diff.c
+++ b/diff.c
@@ -2023,7 +2023,7 @@ static void show_dirstat(struct diff_options *options)
if (DIFF_FILE_VALID(p->one) && DIFF_FILE_VALID(p->two)) {
diff_populate_filespec(p->one, 0);
diff_populate_filespec(p->two, 0);
- diffcore_count_changes(p->one, p->two, NULL, NULL, 0,
+ diffcore_count_changes(p->one, p->two, NULL, NULL,
&copied, &added);
diff_free_filespec_data(p->one);
diff_free_filespec_data(p->two);