diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-10-07 00:44:44 +0300 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-07 00:44:44 +0300 |
commit | 58612f82b660e3378c73f0698d11b0f1fef741da (patch) | |
tree | a5b2b30e15db36ab7df7eb02785f3badd6c69f12 /t/t7814-grep-recurse-submodules.sh | |
parent | 8a7bfa0fd3af2d39be1a808774005c78575908d1 (diff) | |
parent | 868154bb1c08a547afaf74ed8bafdf9bf55d1fd5 (diff) |
Sync with 2.35.5
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t7814-grep-recurse-submodules.sh')
-rwxr-xr-x | t/t7814-grep-recurse-submodules.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7814-grep-recurse-submodules.sh b/t/t7814-grep-recurse-submodules.sh index 9a23a52ac1..7a8e15beb8 100755 --- a/t/t7814-grep-recurse-submodules.sh +++ b/t/t7814-grep-recurse-submodules.sh @@ -196,6 +196,7 @@ test_expect_success !MINGW 'grep recurse submodule colon in name' ' git -C "su:b" commit -m "add fi:le" && test_tick && + test_config_global protocol.file.allow always && git -C parent submodule add "../su:b" "su:b" && git -C parent commit -m "add submodule" && test_tick && @@ -230,6 +231,7 @@ test_expect_success 'grep history with moved submoules' ' git -C sub commit -m "add file" && test_tick && + test_config_global protocol.file.allow always && git -C parent submodule add ../sub dir/sub && git -C parent commit -m "add submodule" && test_tick && @@ -274,6 +276,7 @@ test_expect_success 'grep using relative path' ' mkdir parent/src && echo "(1|2)d(3|4)" >parent/src/file2 && git -C parent add src/file2 && + test_config_global protocol.file.allow always && git -C parent submodule add ../sub && git -C parent commit -m "add files and submodule" && test_tick && @@ -316,6 +319,7 @@ test_expect_success 'grep from a subdir' ' mkdir parent/src && echo "(1|2)d(3|4)" >parent/src/file && git -C parent add src/file && + test_config_global protocol.file.allow always && git -C parent submodule add ../sub src/sub && git -C parent submodule add ../sub sub && git -C parent commit -m "add files and submodules" && |