libgit2/tests/checkout
Edward Thomson eea7c85024 checkout: overwrite files with differing modes
When a file exists on disk and we're checking out a file that differs
in executableness, remove the old file.  This allows us to recreate the
new file with p_open, which will take the new mode into account and
handle setting the umask properly.

Remove any notion of chmod'ing existing files, since it is now handled
by the aforementioned removal and was incorrect, as it did not take
umask into account.
2015-09-16 10:33:59 -04:00
..
binaryunicode.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
checkout_helpers.c tests: tick over five seconds instead of one 2015-06-20 10:46:10 +02:00
checkout_helpers.h tests: tick the index when we count OID calculations 2015-06-16 08:51:45 +02:00
conflict.c checkout test: mark unused vars 2015-06-30 14:31:07 +00:00
crlf.c checkout: plug a few leaks 2015-06-26 18:49:39 +02:00
head.c git_checkout_opts -> git_checkout_options 2014-03-06 09:44:51 -08:00
icase.c Fix leaks in tests/checkout/icase 2015-06-12 09:28:47 -07:00
index.c checkout test: check getcwd return value 2015-06-29 22:34:00 +00:00
nasty.c win32: further cleanups for 8.3 disabling 2015-02-03 20:01:24 -05:00
tree.c checkout: overwrite files with differing modes 2015-09-16 10:33:59 -04:00
typechange.c repository: remove log message override for switching the active branch 2015-03-03 14:40:50 +01:00