diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-11-14 14:39:05 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-14 09:24:04 -0800 |
commit | 974e0044d65dc22e8137e93b8ea13aec23d3a5a3 (patch) | |
tree | e04b3b7617370eb699107fae3dacb9d3416b71ec /diff.c | |
parent | 0b65a8dbdb38962e700ee16776a3042beb489060 (diff) | |
download | git-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 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |