summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-12-12 20:56:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-12-12 21:02:54 (GMT)
commit44103f41971099e907194c65d7040ab0881f2a47 (patch)
tree8f6d4f46ed904c62d14d5b258fbe0a9d83f0c494 /t
parent3013dff8662eae06457fe6e5348dfe2270810ab2 (diff)
downloadgit-44103f41971099e907194c65d7040ab0881f2a47.zip
git-44103f41971099e907194c65d7040ab0881f2a47.tar.gz
git-44103f41971099e907194c65d7040ab0881f2a47.tar.bz2
t/helper: ignore everything but sources
Compiled test helpers in t/helper are out of sync with the .gitignore files quite frequently. This can happen when new test helpers are added, but the explicit .gitignore file is not updated in the same commit, or when you forget to 'make clean' before checking out a different version of git, as the different version may have a different explicit list of test helpers to ignore. Fix this by having an overly broad ignore pattern in that directory: Anything, except C and shell source, will be ignored. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r--t/helper/.gitignore42
1 files changed, 4 insertions, 38 deletions
diff --git a/t/helper/.gitignore b/t/helper/.gitignore
index 7c9d28a..4ab622e 100644
--- a/t/helper/.gitignore
+++ b/t/helper/.gitignore
@@ -1,38 +1,4 @@
-/test-chmtime
-/test-ctype
-/test-config
-/test-date
-/test-delta
-/test-dump-cache-tree
-/test-dump-split-index
-/test-dump-untracked-cache
-/test-fake-ssh
-/test-scrap-cache-tree
-/test-genrandom
-/test-hashmap
-/test-index-version
-/test-lazy-init-name-hash
-/test-line-buffer
-/test-match-trees
-/test-mergesort
-/test-mktemp
-/test-online-cpus
-/test-parse-options
-/test-path-utils
-/test-prio-queue
-/test-read-cache
-/test-ref-store
-/test-regex
-/test-revision-walking
-/test-run-command
-/test-sha1
-/test-sha1-array
-/test-sigchain
-/test-strcmp-offset
-/test-string-list
-/test-submodule-config
-/test-subprocess
-/test-svn-fe
-/test-urlmatch-normalization
-/test-wildmatch
-/test-write-cache
+*
+!*.sh
+!*.[ch]
+!*.gitignore