diff options
| author | Vladimir Panteleev <notmuch@thecybershadow.net> | 2017-08-17 00:41:10 +0000 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-08-18 19:42:35 -0300 |
| commit | ca4688e103c644fa383108a79668e8e0b4dbe262 (patch) | |
| tree | b837ca32d33cd5cbaab5792571bb9439e33e51af /test | |
| parent | 4d44976135ec69316f3f681cf7083e5188ab9d70 (diff) | |
Use rooted paths in .gitignore files
A leading / in paths in a .gitignore file matches the beginning of the
path, meaning that for patterns without slashes, git will match files
only in the current directory as opposed to in any subdirectory.
Prefix relevant paths with / in .gitignore files, to prevent
accidentally ignoring files in subdirectories and possibly slightly
improve the performance of "git status".
Diffstat (limited to 'test')
| -rw-r--r-- | test/.gitignore | 22 | ||||
| -rw-r--r-- | test/test-databases/.gitignore | 2 |
2 files changed, 12 insertions, 12 deletions
diff --git a/test/.gitignore b/test/.gitignore index 226019ed..73fe7e24 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -1,11 +1,11 @@ -arg-test -corpora.mail -hex-xcode -parse-time -random-corpus -smtp-dummy -symbol-test -make-db-version -test-results -ghost-report -tmp.* +/arg-test +/corpora.mail +/hex-xcode +/parse-time +/random-corpus +/smtp-dummy +/symbol-test +/make-db-version +/test-results +/ghost-report +/tmp.* diff --git a/test/test-databases/.gitignore b/test/test-databases/.gitignore index b5624b74..9452199f 100644 --- a/test/test-databases/.gitignore +++ b/test/test-databases/.gitignore @@ -1 +1 @@ -*.tar.xz +/*.tar.xz |
