summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-11-14 13:39:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-11-14 17:24:04 (GMT)
commit974e0044d65dc22e8137e93b8ea13aec23d3a5a3 (patch)
treee04b3b7617370eb699107fae3dacb9d3416b71ec /diff.c
parent0b65a8dbdb38962e700ee16776a3042beb489060 (diff)
downloadgit-974e0044d65dc22e8137e93b8ea13aec23d3a5a3.zip
git-974e0044d65dc22e8137e93b8ea13aec23d3a5a3.tar.gz
git-974e0044d65dc22e8137e93b8ea13aec23d3a5a3.tar.bz2
diffcore-delta: remove unused parameter to diffcore_count_changes()
The delta_limit parameter to diffcore_count_changes() has been unused since commit ba23bbc8e ("diffcore-delta: make change counter to byte oriented again.", 2006-03-04). Remove the parameter and adjust all callers. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 059123c..bbb8977 100644
--- a/diff.c
+++ b/diff.c
@@ -1953,7 +1953,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);