summaryrefslogtreecommitdiff
path: root/diffcore-delta.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-11-14 14:39:05 +0100
committerJunio C Hamano <gitster@pobox.com>2016-11-14 09:24:04 -0800
commit974e0044d65dc22e8137e93b8ea13aec23d3a5a3 (patch)
treee04b3b7617370eb699107fae3dacb9d3416b71ec /diffcore-delta.c
parent0b65a8dbdb38962e700ee16776a3042beb489060 (diff)
downloadgit-974e0044d65dc22e8137e93b8ea13aec23d3a5a3.tar.gz
diffcore-delta: remove unused parameter to diffcore_count_changes()tk/diffcore-delta-remove-unused
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 'diffcore-delta.c')
-rw-r--r--diffcore-delta.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/diffcore-delta.c b/diffcore-delta.c
index 4159748a70..e2db85abd9 100644
--- a/diffcore-delta.c
+++ b/diffcore-delta.c
@@ -169,7 +169,6 @@ int diffcore_count_changes(struct diff_filespec *src,
struct diff_filespec *dst,
void **src_count_p,
void **dst_count_p,
- unsigned long delta_limit,
unsigned long *src_copied,
unsigned long *literal_added)
{