summaryrefslogtreecommitdiffstats
path: root/t/t1500-rev-parse.sh
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-10-06 23:39:15 +0200
committerTaylor Blau <me@ttaylorr.com>2022-10-06 23:39:15 +0200
commit122512967e6184b1888a63ea2b6ed9ada3046b28 (patch)
tree91a2c08868d550b5ce21efd7176c4d2d634bc44f /t/t1500-rev-parse.sh
parentGit 2.31.4 (diff)
parentGit 2.30.6 (diff)
downloadgit-122512967e6184b1888a63ea2b6ed9ada3046b28.tar.xz
git-122512967e6184b1888a63ea2b6ed9ada3046b28.zip
Sync with 2.30.6
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t1500-rev-parse.sh')
-rwxr-xr-xt/t1500-rev-parse.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t1500-rev-parse.sh b/t/t1500-rev-parse.sh
index deae916707..60df435fab 100755
--- a/t/t1500-rev-parse.sh
+++ b/t/t1500-rev-parse.sh
@@ -221,7 +221,8 @@ test_expect_success 'showing the superproject correctly' '
test_commit -C super test_commit &&
test_create_repo sub &&
test_commit -C sub test_commit &&
- git -C super submodule add ../sub dir/sub &&
+ git -c protocol.file.allow=always \
+ -C super submodule add ../sub dir/sub &&
echo $(pwd)/super >expect &&
git -C super/dir/sub rev-parse --show-superproject-working-tree >out &&
test_cmp expect out &&