Merge branch 'jc/combine' into next
[git/git-svn.git] / t / t3700-add.sh
blob6cd05c3d9096e8017a6bfb23982ea46e0ae93630
1 #!/bin/sh
3 # Copyright (c) 2006 Carl D. Worth
6 test_description='Test of git-add, including the -- option.'
8 . ./test-lib.sh
10 test_expect_success \
11 'Test of git-add' \
12 'touch foo && git-add foo'
14 test_expect_success \
15 'Post-check that foo is in the index' \
16 'git-ls-files foo | grep foo'
18 test_expect_success \
19 'Test that "git-add -- -q" works' \
20 'touch -- -q && git-add -- -q'
22 test_done