Elijah Newren
da91a90c2f
fast-import: disallow more path components
...
Instead of just disallowing '.' and '..', make use of verify_path() to
ensure that fast-import will disallow anything we wouldn't allow into
the index, such as anything under .git/, .gitmodules as a symlink, or
a dos drive prefix on Windows.
Since a few fast-export and fast-import tests that tried to stress-test
the correct handling of quoting relied on filenames that fail
is_valid_win32_path(), such as spaces or periods at the end of filenames
or backslashes within the filename, turn off core.protectNTFS for those
tests to ensure they keep passing.
Helped-by: Jeff King <peff@peff.net >
Signed-off-by: Elijah Newren <newren@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-12-02 10:09:48 +09:00
..
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-10-10 13:09:13 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-10-08 23:35:45 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-10-02 07:46:26 -07:00
2024-09-13 14:32:24 -07:00
2024-12-02 10:09:48 +09:00
2024-09-25 10:24:54 -07:00
2024-09-25 10:24:54 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-11-20 14:42:57 +09:00
2024-11-20 14:42:58 +09:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-10-02 07:46:26 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-24 10:54:39 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-24 10:54:39 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-10-02 07:46:26 -07:00
2024-09-25 10:24:53 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-25 18:24:50 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-10-02 07:46:26 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-25 10:24:53 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-10-02 07:46:25 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-10-09 10:48:08 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00