From 9aec7e0ba69334cf9bfc6bca6abbea7e84d676b2 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Wed, 19 Aug 2009 03:45:21 +0200 Subject: [PATCH] git submodule foreach: test access to submodule name as '$name' Add verification of the behaviour of '$name' to the git submodule foreach selftest. Signed-off-by: Johan Herland Signed-off-by: Junio C Hamano --- t/t7407-submodule-foreach.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/t7407-submodule-foreach.sh b/t/t7407-submodule-foreach.sh index 76e0734ce..991aa80c8 100755 --- a/t/t7407-submodule-foreach.sh +++ b/t/t7407-submodule-foreach.sh @@ -61,9 +61,9 @@ sub3sha1=$(cd super/sub3 && git rev-parse HEAD) cat > expect < ../actual + git submodule foreach "echo \$name-\$path-\$sha1" > ../actual ) && test_cmp expect actual ' -- 2.30.2