Skip to contentSkip to conversation

Add t/helper/test-write-cache to .gitignore

PATCH In review Jonathan Tan 3 participants 3 messages Aug 28, 2017 – Sep 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add t/helper/test-write-cache to .gitignore

This new binary was introduced in commit 3921a0b ("perf: add test for writing the index", 2017-08-21), but a .gitignore entry was not added for it. Add that entry.

---
 t/helper/.gitignore | 1 +
 1 file changed, 1 insertion(+)
t/helper/.gitignore +1 -0
index 721650256..7c9d28a83 100644
@@ -35,3 +35,4 @@
 /test-svn-fe
 /test-urlmatch-normalization
 /test-wildmatch
+/test-write-cache
Signature · 1 line
2.14.1.581.gf28d330327-goog
#1 lore raw
Quoted 5 lines · Jonathan Tan

This new binary was introduced in commit 3921a0b ("perf: add test for writing the index", 2017-08-21), but a .gitignore entry was not added for it. Add that entry.

Looks good to me

Quoted 16 lines
---
 t/helper/.gitignore | 1 +
 1 file changed, 1 insertion(+)
t/helper/.gitignore +1 -0
index 721650256..7c9d28a83 100644
@@ -35,3 +35,4 @@
 /test-svn-fe
 /test-urlmatch-normalization
 /test-wildmatch
+/test-write-cache
Signature · 1 line
2.14.1.581.gf28d330327-goog
Signature · 1 line
Brandon Williams
Reviewed-by
#2 lore raw
Quoted 9 lines · Brandon Williams
Quoted 5 lines · Jonathan Tan

This new binary was introduced in commit 3921a0b ("perf: add test for writing the index", 2017-08-21), but a .gitignore entry was not added for it. Add that entry.

Looks good to me

as well.

I wonder if we can automate this a little. Some thoughts:

A. We could include a test that all the binaries named in
TEST_PROGRAMS_NEED_X are also named in t/helper/.gitignore. That way tests would fail if this ever falls out of date again.

B. Even better would be if we could have /t/helper/test-* in
.gitignore. E.g. if we rename test-*.c to *.c (e.g. t/helper/ctype.c instead of t/helper/test-ctype.c), then the test helper source file names would be easier to type and maintaining this .gitignore would become a problem of the past.

What do you think?
Jonathan