summaryrefslogtreecommitdiffstats
path: root/ignore/src
diff options
context:
space:
mode:
authorJan Verbeek <55185397+janverb@users.noreply.github.com>2020-01-20 13:48:57 +0100
committerAndrew Gallant <jamslam@gmail.com>2020-01-20 07:48:57 -0500
commit46b07bb2ee0de2781a30e7e92a9491d58743bb89 (patch)
tree08fc53326eda2d28e61265242c5884ede47a4295 /ignore/src
parent8bdf84e3a82e42984cb09e5aeeffb932cb7e08ff (diff)
ignore/types: fix postscript globs
The postscript globs were missing asterisks, so they were treated as literal filenames. PR #1461
Diffstat (limited to 'ignore/src')
-rw-r--r--ignore/src/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ignore/src/types.rs b/ignore/src/types.rs
index 1ff31289..42bc6316 100644
--- a/ignore/src/types.rs
+++ b/ignore/src/types.rs
@@ -231,7 +231,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("pdf", &["*.pdf"]),
("php", &["*.php", "*.php3", "*.php4", "*.php5", "*.phtml"]),
("pod", &["*.pod"]),
- ("postscript", &[".eps", ".ps"]),
+ ("postscript", &["*.eps", "*.ps"]),
("protobuf", &["*.proto"]),
("ps", &["*.cdxml", "*.ps1", "*.ps1xml", "*.psd1", "*.psm1"]),
("puppet", &["*.erb", "*.pp", "*.rb"]),