diff options
author | Junio C Hamano <junkio@cox.net> | 2006-03-02 15:10:05 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-02 15:10:05 -0800 |
commit | c40610422e1157e71dbc3c1a2f9e19bbe117962f (patch) | |
tree | 251299eef1d983dfdcff8c6455e968234c6d0a56 /t/t3700-add.sh | |
parent | Add git-blame, a tool for assigning blame. (diff) | |
parent | Rip out merge-order and make "git log <paths>..." work again. (diff) | |
download | tgif-c40610422e1157e71dbc3c1a2f9e19bbe117962f.tar.xz |
Merge part of 'lt/rev-list' into 'fk/blame'
Now blame will depend on the new revision walker infrastructure,
we need to make it depend on earlier parts of Linus' rev-list
topic branch, hence this merge.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t3700-add.sh')
-rwxr-xr-x | t/t3700-add.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/t/t3700-add.sh b/t/t3700-add.sh new file mode 100755 index 0000000000..6cd05c3d90 --- /dev/null +++ b/t/t3700-add.sh @@ -0,0 +1,22 @@ +#!/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 |