Add selftest for 'git submodule foreach'
authorJohan Herland <johan@herland.net>
Wed, 19 Aug 2009 01:45:20 +0000 (03:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Aug 2009 05:50:40 +0000 (22:50 -0700)
commitd69ecf6f0ed2c1a31875a3f642deef0358ac9377
tree5091bc9ab9d7ab101202ade2ad908a9ca7503465
parent1d5bec8b9cee65b1f98a118ba79120ea686252e3
Add selftest for 'git submodule foreach'

The selftest verifies that:
- only checked out submodules are visited by 'git submodule foreach'
- the $path, and $sha1 variables are set correctly for each submodule

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7407-submodule-foreach.sh [new file with mode: 0755]