Skip to content

Commit 44103f4

Browse files
stefanbellergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3013dff commit 44103f4

File tree

1 file changed

+4
-38
lines changed

1 file changed

+4
-38
lines changed

t/helper/.gitignore

Lines changed: 4 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)