Add common VCS dirs to default ignore list (fixes #54)
This commit is contained in:
parent
0696b5266b
commit
f9a3cade26
|
@ -1,6 +1,6 @@
|
|||
[root]
|
||||
name = "watchexec"
|
||||
version = "1.8.1"
|
||||
version = "1.8.2"
|
||||
dependencies = [
|
||||
"clap 2.22.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"env_logger 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "watchexec"
|
||||
version = "1.8.1"
|
||||
version = "1.8.2"
|
||||
authors = ["Matt Green <mattgreenrocks@gmail.com>"]
|
||||
description = "Executes commands in response to file modifications"
|
||||
documentation = "https://github.com/mattgreen/watchexec"
|
||||
|
|
|
@ -140,7 +140,10 @@ pub fn get_args() -> Args {
|
|||
let mut ignores = vec![];
|
||||
let default_ignores = vec![format!("*{}.DS_Store", MAIN_SEPARATOR),
|
||||
String::from("*.pyc"),
|
||||
String::from("*.swp")];
|
||||
String::from("*.swp"),
|
||||
String::from("*/.git/*"),
|
||||
String::from("*/.hg/*"),
|
||||
String::from("*/.svn/*")];
|
||||
|
||||
|
||||
if args.occurrences_of("no-default-ignore") == 0 {
|
||||
|
|
Loading…
Reference in New Issue