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
'commit --dry-run -a clean' '
23 git commit --dry-run -a |
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)' '
34 git commit --dry-run -a |
35 grep "nothing to commit"