diff options
| author | Russell Belfer <rb@github.com> | 2013-01-02 17:01:34 -0800 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2013-01-04 15:47:43 -0800 |
| commit | 546d65a8dae8a7af7288163a580c08c827ebda1d (patch) | |
| tree | 4dd9337f19108bbee970a9c5b1258f94fb7d2270 /src/checkout.c | |
| parent | a9a730075eee70444db4ab4bbb928c29a812bbbf (diff) | |
| download | libgit2-546d65a8dae8a7af7288163a580c08c827ebda1d.tar.gz | |
Fix up spoolandsort iterator usage
The spoolandsort iterator changes got sort-of cherry picked out of
this branch and so I dropped the commit when rebasing; however,
there were a few small changes that got dropped as well (since the
version merged upstream wasn't quite the same as what I dropped).
Diffstat (limited to 'src/checkout.c')
| -rw-r--r-- | src/checkout.c | 3 |
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; } |
