t7407: Fix recursive submodule test
commit58ca9ad4d68951f5f04f7c2399be55590dcf6a59
authorPhil Hord <hordp@cisco.com>
Fri, 26 Oct 2012 19:13:54 +0000 (26 15:13 -0400)
committerJeff King <peff@peff.net>
Mon, 29 Oct 2012 07:24:57 +0000 (29 03:24 -0400)
tree78bd55c5f757e20e48bf8518039af8f74c62c99c
parent7e2010537e96d0a1144520222f20ba1dc3d61441
t7407: Fix recursive submodule test

A test in t7404-submodule-foreach purports to test that
the --cached flag is properly noticed by --recursive calls
to the foreach command as it descends into nested
submodules.  However, the test really does not perform this
test since the change it looks for is in a top-level
submodule handled by the first invocation of the command.
To properly test for the flag being passed to recursive
invocations, the change must be buried deeper in the
hierarchy.

Move the change one level deeper so it properly verifies
the recursive machinery of the 'git submodule status'
command.

Signed-off-by: Phil Hord <hordp@cisco.com>
Signed-off-by: Jeff King <peff@peff.net>
t/t7407-submodule-foreach.sh