From 98de8d248a677bbdb5ab46f53a58ceabbc24a2df Mon Sep 17 00:00:00 2001 From: Tristan Waddington Date: Thu, 23 Jan 2020 03:51:11 -0800 Subject: ignore/types: make 'gradle' it's own type This change maintains the existing behavior of the 'groovy' type, which includes both .groovy and .gradle files. PR #1470 --- ignore/src/types.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'ignore/src') diff --git a/ignore/src/types.rs b/ignore/src/types.rs index 42bc6316..d6deb2bf 100644 --- a/ignore/src/types.rs +++ b/ignore/src/types.rs @@ -152,6 +152,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("go", &["*.go"]), ("gzip", &["*.gz", "*.tgz"]), ("groovy", &["*.groovy", "*.gradle"]), + ("gradle", &["*.gradle"]), ("h", &["*.h", "*.hpp"]), ("hbs", &["*.hbs"]), ("haskell", &["*.hs", "*.lhs", "*.cpphs", "*.c2hs", "*.hsc"]), -- cgit v1.2.3