libgit2/tests/checkout
Edward Thomson a64119e396 checkout: disallow bad paths on win32
Disallow:
 1. paths with trailing dot
 2. paths with trailing space
 3. paths with trailing colon
 4. paths that are 8.3 short names of .git folders ("GIT~1")
 5. paths that are reserved path names (COM1, LPT1, etc).
 6. paths with reserved DOS characters (colons, asterisks, etc)

These paths would (without \\?\ syntax) be elided to other paths - for
example, ".git." would be written as ".git".  As a result, writing these
paths literally (using \\?\ syntax) makes them hard to operate with from
the shell, Windows Explorer or other tools.  Disallow these.
2014-12-16 10:08:53 -06: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 Update text=auto / core.autocrlf=false behavior 2014-06-24 13:46:32 -04:00
head.c git_checkout_opts -> git_checkout_options 2014-03-06 09:44:51 -08:00
index.c checkout_index: Remove stage 0 when checking out conflicts 2014-11-06 18:50:10 -05:00
nasty.c checkout: disallow bad paths on win32 2014-12-16 10:08:53 -06:00
tree.c Plug leaks 2014-11-23 15:51:31 +01:00
typechange.c git_checkout_opts -> git_checkout_options 2014-03-06 09:44:51 -08:00