libgit2/tests/checkout
John Fultz 67db2bdeea Fix git_checkout_tree() to do index filemodes correctly on Windows.
git_checkout_tree() has some fallback behaviors for file systems
which don't have full support of filemodes.  Generally works fine,
but if a given file had a change of type from a 0644 to 0755 (i.e.,
you add executable permissions), the fallback behavior incorrectly
triggers when writing hte updated index.

This would cause a git_checkout_tree() command, even with the
GIT_CHECKOUT_FORCE option set, to leave a dirty index on Windows.

Also added checks to an existing test to catch this case.
2015-04-06 18:22:17 -05:00
..
binaryunicode.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
checkout_helpers.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
checkout_helpers.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
conflict.c Merge pull request #2567 from cirosantilli/factor-41 2014-09-17 17:13:25 +02:00
crlf.c Illustrate bad checkout on Windows 2015-03-25 10:20:47 -04:00
head.c git_checkout_opts -> git_checkout_options 2014-03-06 09:44:51 -08:00
icase.c Lower case the include directive of windows header 2015-03-16 23:08:16 +02:00
index.c checkout: remove GIT_CHECKOUT_SAFE_CREATE as a strategy 2015-02-27 13:50:44 -05:00
nasty.c win32: further cleanups for 8.3 disabling 2015-02-03 20:01:24 -05:00
tree.c Fix git_checkout_tree() to do index filemodes correctly on Windows. 2015-04-06 18:22:17 -05:00
typechange.c repository: remove log message override for switching the active branch 2015-03-03 14:40:50 +01:00