summaryrefslogtreecommitdiff
path: root/t/t1500-rev-parse.sh
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-10-07 00:00:04 (GMT)
committerTaylor Blau <me@ttaylorr.com>2022-10-07 00:00:04 (GMT)
commitf64d4ca8d65bdca39da444d24bde94864ac01bb1 (patch)
treeedc9055c3dc8e378474c951ad6a3513deaa777d0 /t/t1500-rev-parse.sh
parent3dcec76d9df911ed8321007b1d197c1a206dc164 (diff)
parent83d5e3341b69b3116675f13d2fab208a12c79e27 (diff)
downloadgit-f64d4ca8d65bdca39da444d24bde94864ac01bb1.zip
git-f64d4ca8d65bdca39da444d24bde94864ac01bb1.tar.gz
git-f64d4ca8d65bdca39da444d24bde94864ac01bb1.tar.bz2
Sync with 2.37.4
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 0e13bcb..81de584 100755
--- a/t/t1500-rev-parse.sh
+++ b/t/t1500-rev-parse.sh
@@ -226,7 +226,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 &&