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>
Stefan Beller committed
Dec 12, 2017 at 12:56 UTC
44103f41971099e907194c65d7040ab0881f2a47
1 file changed
+4
-38
t/helper/.gitignore
+4
-38
@@ -1,38 +1,4 @@
1
-/test-chmtime
2
-/test-ctype
3
-/test-config
4
-/test-date
5
-/test-delta
6
-/test-dump-cache-tree
7
-/test-dump-split-index
8
-/test-dump-untracked-cache
9
-/test-fake-ssh
10
-/test-scrap-cache-tree
11
-/test-genrandom
12
-/test-hashmap
13
-/test-index-version
14
-/test-lazy-init-name-hash
15
-/test-line-buffer
16
-/test-match-trees
17
-/test-mergesort
18
-/test-mktemp
19
-/test-online-cpus
20
-/test-parse-options
21
-/test-path-utils
22
-/test-prio-queue
23
-/test-read-cache
24
-/test-ref-store
25
-/test-regex
26
-/test-revision-walking
27
-/test-run-command
28
-/test-sha1
29
-/test-sha1-array
30
-/test-sigchain
31
-/test-strcmp-offset
32
-/test-string-list
33
-/test-submodule-config
34
-/test-subprocess
35
-/test-svn-fe
36
-/test-urlmatch-normalization
37
-/test-wildmatch
38
-/test-write-cache
1
+*
2
+!*.sh
3
+!*.[ch]
4
+!*.gitignore