3 test_description
='git add --all'
7 test_expect_success setup
'
20 git commit -m initial &&
21 git ls-files >actual &&
22 test_cmp expect actual
25 test_expect_success
'git add --all' '
35 echo modification >>.gitignore &&
38 git update-index --refresh &&
39 git ls-files >actual &&
40 git diff-index --name-status --cached HEAD >>actual &&
41 test_cmp expect actual
44 test_expect_success
'Just "git add" is a no-op' '
49 git diff-index --name-status --cached HEAD >actual &&
51 test_cmp expect actual