diff options
Diffstat (limited to 'ignore/src')
-rw-r--r-- | ignore/src/gitignore.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ignore/src/gitignore.rs b/ignore/src/gitignore.rs index 15827fd2..a151e2de 100644 --- a/ignore/src/gitignore.rs +++ b/ignore/src/gitignore.rs @@ -419,6 +419,8 @@ impl GitignoreBuilder { from: Option<PathBuf>, mut line: &str, ) -> Result<&mut GitignoreBuilder, Error> { + #![allow(deprecated)] + if line.starts_with("#") { return Ok(self); } |