mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-28 22:21:33 +02:00
Also ignore changes to ignored dirs themselves
This commit is contained in:
parent
f4774d6f8c
commit
6ebb7bc7b3
@ -141,9 +141,9 @@ pub fn get_args() -> Args {
|
||||
let default_ignores = vec![format!("*{}.DS_Store", MAIN_SEPARATOR),
|
||||
String::from("*.pyc"),
|
||||
String::from("*.swp"),
|
||||
format!("*{}.git{}*", MAIN_SEPARATOR, MAIN_SEPARATOR),
|
||||
format!("*{}.hg{}*", MAIN_SEPARATOR, MAIN_SEPARATOR),
|
||||
format!("*{}.svn{}*", MAIN_SEPARATOR, MAIN_SEPARATOR)];
|
||||
format!("*{}.git{}**", MAIN_SEPARATOR, MAIN_SEPARATOR),
|
||||
format!("*{}.hg{}**", MAIN_SEPARATOR, MAIN_SEPARATOR),
|
||||
format!("*{}.svn{}**", MAIN_SEPARATOR, MAIN_SEPARATOR)];
|
||||
|
||||
|
||||
if args.occurrences_of("no-default-ignore") == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user