summaryrefslogtreecommitdiffstats
path: root/ignore/src/gitignore.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ignore/src/gitignore.rs')
-rw-r--r--ignore/src/gitignore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ignore/src/gitignore.rs b/ignore/src/gitignore.rs
index c44910ff..5523fa6d 100644
--- a/ignore/src/gitignore.rs
+++ b/ignore/src/gitignore.rs
@@ -311,7 +311,7 @@ impl GitignoreBuilder {
Ok(line) => line,
Err(err) => {
errs.push(Error::Io(err).tagged(path, lineno));
- continue;
+ break;
}
};
if let Err(err) = self.add_line(Some(path.to_path_buf()), &line) {