Staging
v0.8.1
https://github.com/git/git
Raw File
Tip revision: bf9e9542f94bc39e8bc653065d477bd25e79010e authored by Junio C Hamano on 22 June 2006, 17:36:26 UTC
Merge branch 'master' into next
Tip revision: bf9e954
t3700-add.sh
#!/bin/sh
#
# Copyright (c) 2006 Carl D. Worth
#

test_description='Test of git-add, including the -- option.'

. ./test-lib.sh

test_expect_success \
    'Test of git-add' \
    'touch foo && git-add foo'

test_expect_success \
    'Post-check that foo is in the index' \
    'git-ls-files foo | grep foo'

test_expect_success \
    'Test that "git-add -- -q" works' \
    'touch -- -q && git-add -- -q'

test_done
back to top