summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-11-15 23:07:32 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-15 23:07:32 -0800
commit958742ba43a0e3847cc7095869f0d96febe47132 (patch)
treea1617297d94ecff73a737dcb333b6996be7cb8da /t
parentMerge branch 'vl/maint-openssl-signature-change' into maint (diff)
parentls-files: unbreak "ls-files -i" (diff)
downloadtgif-958742ba43a0e3847cc7095869f0d96febe47132.tar.xz
Merge branch 'jk/maint-1.6.3-ls-files-i' into maint
* jk/maint-1.6.3-ls-files-i: ls-files: unbreak "ls-files -i"
Diffstat (limited to 't')
-rwxr-xr-xt/t3003-ls-files-exclude.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t3003-ls-files-exclude.sh b/t/t3003-ls-files-exclude.sh
index fc1e379321..d5ec333131 100755
--- a/t/t3003-ls-files-exclude.sh
+++ b/t/t3003-ls-files-exclude.sh
@@ -29,4 +29,12 @@ test_expect_success 'add file to gitignore' '
'
check_all_output
+test_expect_success 'ls-files -i lists only tracked-but-ignored files' '
+ echo content >other-file &&
+ git add other-file &&
+ echo file >expect &&
+ git ls-files -i --exclude-standard >output &&
+ test_cmp expect output
+'
+
test_done