* maint-2.23: (44 commits)
Git 2.23.1
Git 2.22.2
Git 2.21.1
mingw: sh arguments need quoting in more circumstances
mingw: fix quoting of empty arguments for `sh`
mingw: use MSYS2 quoting even when spawning shell scripts
mingw: detect when MSYS2's sh is to be spawned more robustly
t7415: drop v2.20.x-specific work-around
Git 2.20.2
t7415: adjust test for dubiously-nested submodule gitdirs for v2.20.x
Git 2.19.3
Git 2.18.2
Git 2.17.3
Git 2.16.6
test-drop-caches: use `has_dos_drive_prefix()`
Git 2.15.4
Git 2.14.6
mingw: handle `subst`-ed "DOS drives"
mingw: refuse to access paths with trailing spaces or periods
mingw: refuse to access paths with illegal characters
...
@ -488,10 +505,9 @@ test_expect_success 'submodule init does not copy command into .git/config' '
@@ -488,10 +505,9 @@ test_expect_success 'submodule init does not copy command into .git/config' '
@ -2143,12 +2143,27 @@ test_expect_success 'R: abort on receiving feature after data command' '
@@ -2143,12 +2143,27 @@ test_expect_success 'R: abort on receiving feature after data command' '
test_must_fail git fast-import <input
'
test_expect_success 'R: import-marks features forbidden by default' '
test_expect_success 'R: export-marks feature forbidden by default' '
echo "feature export-marks=git.marks" >input &&
test_must_fail git fast-import <input
'
@ -2162,19 +2177,29 @@ test_expect_success 'R: export-marks feature results in a marks file being creat
@@ -2162,19 +2177,29 @@ test_expect_success 'R: export-marks feature results in a marks file being creat
EOF
cat input | git fast-import &&
git fast-import --allow-unsafe-features <input &&
grep :1 git.marks
'
test_expect_success 'R: export-marks options can be overridden by commandline options' '
@ -2276,7 +2305,7 @@ test_expect_success 'R: import to output marks works without any content' '
@@ -2276,7 +2305,7 @@ test_expect_success 'R: import to output marks works without any content' '
feature export-marks=marks.new
EOF
cat input | git fast-import &&
git fast-import --allow-unsafe-features <input &&
test_cmp marks.out marks.new
'
@ -2286,7 +2315,7 @@ test_expect_success 'R: import marks prefers commandline marks file over the str
@@ -2286,7 +2315,7 @@ test_expect_success 'R: import marks prefers commandline marks file over the str
@ -2324,7 +2354,7 @@ test_expect_success 'R: feature no-relative-marks should be honoured' '
@@ -2324,7 +2354,7 @@ test_expect_success 'R: feature no-relative-marks should be honoured' '
feature export-marks=non-relative.out
EOF
git fast-import <input &&
git fast-import --allow-unsafe-features <input &&
test_cmp marks.new non-relative.out
'
@ -2594,7 +2624,7 @@ test_expect_success 'R: quiet option results in no stats being output' '
@@ -2594,7 +2624,7 @@ test_expect_success 'R: quiet option results in no stats being output' '