3 test_description='git status for submodule'
7 test_expect_success 'setup' '
12 git commit -m " Add bar" &&
15 git commit -m "Add submodule sub"
18 test_expect_success 'status clean' '
20 grep "nothing to commit"
22 test_expect_success 'status -a clean' '
24 grep "nothing to commit"
26 test_expect_success 'rm submodule contents' '
29 test_expect_success 'status clean (empty submodule dir)' '
31 grep "nothing to commit"
33 test_expect_success 'status -a clean (empty submodule dir)' '
35 grep "nothing to commit"