pr-1086/jamesl-dm/maint-v4
tagged this
08 Dec 02:11
From: James Limbouris <james@digitalmatter.com> 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> Submitted-As: https://lore.kernel.org/git/pull.1086.v4.git.1638929518657.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.1086.git.1638324413653.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.1086.v2.git.1638424290015.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.1086.v3.git.1638758742741.gitgitgadget@gmail.com
Assets 2
-
2021-12-08T02:11:58Z -
2021-12-08T02:11:58Z -