From 46b07bb2ee0de2781a30e7e92a9491d58743bb89 Mon Sep 17 00:00:00 2001 From: Jan Verbeek <55185397+janverb@users.noreply.github.com> Date: Mon, 20 Jan 2020 13:48:57 +0100 Subject: [PATCH] ignore/types: fix postscript globs The postscript globs were missing asterisks, so they were treated as literal filenames. PR #1461 --- ignore/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]),