summaryrefslogtreecommitdiff
path: root/src/checkout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/checkout.c')
-rw-r--r--src/checkout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/checkout.c b/src/checkout.c
index a62df5efd..76119c6e9 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -1223,8 +1223,7 @@ int git_checkout_iterator(
/* Handle case insensitivity for baseline if necessary */
if (workdir->ignore_case && !baseline->ignore_case) {
- if ((error = git_iterator_spoolandsort(
- &baseline, baseline, git_index_entry__cmp_icase, true)) < 0)
+ if ((error = git_iterator_spoolandsort_push(baseline, true)) < 0)
goto cleanup;
}