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>
This commit is contained in:
committed by
Junio C Hamano
parent
0b65a8dbdb
commit
974e0044d6
2
diff.c
2
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);
|
||||
|
||||
Reference in New Issue
Block a user