summaryrefslogtreecommitdiff
path: root/t/t8014-blame-ignore-fuzzy.sh
diff options
context:
space:
mode:
authorJames Limbouris <james@digitalmatter.com>2021-12-08 02:11:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-01-04 19:38:19 (GMT)
commit3ce8888fb499f9646b770306be6e2c7674a75199 (patch)
treec808d9ef78f7210d7412e1e73daebd5fee5e801a /t/t8014-blame-ignore-fuzzy.sh
parente9d7761bb94f20acc98824275e317fa82436c25d (diff)
downloadgit-3ce8888fb499f9646b770306be6e2c7674a75199.zip
git-3ce8888fb499f9646b770306be6e2c7674a75199.tar.gz
git-3ce8888fb499f9646b770306be6e2c7674a75199.tar.bz2
subtree: fix argument handling in check_parents
315a84f9aa0 (subtree: use commits before rejoins for splits, 2018-09-28) changed the signature of check_parents from 'check_parents [REV...]' to 'check_parents PARENTS_EXPR INDENT'. In other words the variable list of parent revisions became a list embedded in a string. However it neglected to unpack the list again before sending it to cache_miss, leading to incorrect calls whenever more than one parent was present. This is the case whenever a merge commit is processed, with the end result being a loss of performance from unecessary rechecks. The indent parameter was subsequently removed in e9525a8a029 (subtree: have $indent actually affect indentation, 2021-04-27), but the argument handling bug remained. For consistency, take multiple arguments in check_parents, and pass all of them to cache_miss separately. Signed-off-by: James Limbouris <james@digitalmatter.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8014-blame-ignore-fuzzy.sh')
0 files changed, 0 insertions, 0 deletions