summaryrefslogtreecommitdiff
path: root/src/checkout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/checkout.c')
-rw-r--r--src/checkout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/checkout.c b/src/checkout.c
index 972366fbb..66eb698ab 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -452,9 +452,7 @@ static int checkout_get_actions(
goto fail;
if ((diff->opts.flags & GIT_DIFF_DELTAS_ARE_ICASE) != 0 &&
- !hiter->ignore_case &&
- (error = git_iterator_spoolandsort(
- &hiter, hiter, diff->entrycomp, true)) < 0)
+ (error = git_iterator_spoolandsort_push(hiter, true)) < 0)
goto fail;
if ((error = git_iterator_current(hiter, &he)) < 0)