From fe0d5243bd5fc5e6b7d89488f27c68b54674dff2 Mon Sep 17 00:00:00 2001 From: Matt Green Date: Tue, 25 Apr 2017 16:48:44 -0400 Subject: [PATCH] Remove /.* ignore pattern (see #45) --- src/cli.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 1dfe292..5198c8a 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -135,8 +135,7 @@ pub fn get_args() -> Args { } let mut ignores = vec![]; - let default_ignores = vec![format!("*{}.*{}*", MAIN_SEPARATOR, MAIN_SEPARATOR), - format!("*{}.DS_Store", MAIN_SEPARATOR), + let default_ignores = vec![format!("*{}.DS_Store", MAIN_SEPARATOR), String::from("*.pyc"), String::from("*.swp")];