diff options
author | Edward Thomson <ethomson@microsoft.com> | 2014-05-09 19:32:52 -0700 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2015-01-19 13:29:10 -0600 |
commit | 4a30c53146e7d1068af6f02dba3ef925878d11b8 (patch) | |
tree | 7b1378d4074536596990e40bff02d0fe23d8204c /src | |
parent | e7f5425b79ea0410edb7f9199231b7795b714535 (diff) | |
download | libgit2-bindings/libgit2sharp/020_2.tar.gz |
Always checkout with case sensitive iteratorbindings/libgit2sharp/020_2
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')
-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 a170b26ea..36241c643 100644 --- a/src/checkout.c +++ b/src/checkout.c @@ -2458,7 +2458,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); |