diff options
author | Edward Thomson <ethomson@microsoft.com> | 2014-05-09 19:32:52 -0700 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-01-16 18:56:05 -0500 |
commit | d853fb9f24e0fe63b3dce9fbc04fd9cfe17a030b (patch) | |
tree | 2db2606efca9b583f684234469a9729e82fe7dde /src/checkout.c | |
parent | 84330788e44b2c9673ee51b3647b057de170be91 (diff) | |
download | libgit2-maint/v0.21.tar.gz |
Always checkout with case sensitive iteratorv0.21.5maint/v0.21
On a case-insensitive filesystem, we need to deal with case-changing
renames (eg, foo -> FOO) by removing the old and adding the new,
exactly as if we were on a case-sensitive filesystem.
Update the `checkout::tree::can_cancel_checkout_from_notify` test, now
that notifications are always sent case sensitively.
Diffstat (limited to 'src/checkout.c')
-rw-r--r-- | src/checkout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkout.c b/src/checkout.c index d445ac4cc..18f837e2e 100644 --- a/src/checkout.c +++ b/src/checkout.c @@ -2364,7 +2364,7 @@ int git_checkout_tree( } } - if (!(error = git_iterator_for_tree(&tree_i, tree, 0, NULL, NULL))) + if (!(error = git_iterator_for_tree(&tree_i, tree, GIT_ITERATOR_DONT_IGNORE_CASE, NULL, NULL))) error = git_checkout_iterator(tree_i, opts); git_iterator_free(tree_i); |