summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-22 03:03:53 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-22 03:03:53 (GMT)
commitfbf5df024e9137d446c5a85adeae7e4780365d1b (patch)
tree69e649ccbf7f457673d2f401956f54b20a7b5f2f /t
parent93d496a560cdcd4f72c8dee1b0b2efa324e1c3bb (diff)
parent523d12e5003eee0c2cb670b51e39d719cd56aacd (diff)
downloadgit-fbf5df024e9137d446c5a85adeae7e4780365d1b.zip
git-fbf5df024e9137d446c5a85adeae7e4780365d1b.tar.gz
git-fbf5df024e9137d446c5a85adeae7e4780365d1b.tar.bz2
Merge branch 'maint'
* maint: git-cvsserver: fix disabling service via per-method config git-status: respect core.excludesFile SubmittingPatches: mention older C compiler compatibility git-daemon: don't ignore pid-file write failure
Diffstat (limited to 't')
-rwxr-xr-xt/t3001-ls-files-others-exclude.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/t/t3001-ls-files-others-exclude.sh b/t/t3001-ls-files-others-exclude.sh
index db7a847..fcfcfbb 100755
--- a/t/t3001-ls-files-others-exclude.sh
+++ b/t/t3001-ls-files-others-exclude.sh
@@ -79,4 +79,24 @@ test_expect_success \
>output &&
git diff expect output'
+cat > excludes-file << EOF
+*.[1-8]
+e*
+EOF
+
+git-config core.excludesFile excludes-file
+
+git-runstatus | grep "^# " > output
+
+cat > expect << EOF
+# .gitignore
+# a.6
+# one/
+# output
+# three/
+EOF
+
+test_expect_success 'git-status honours core.excludesfile' \
+ 'diff -u expect output'
+
test_done