diff --git a/CHANGELOG.md b/CHANGELOG.md index 25d0a209..eccaccc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Performance improvements: Feature enhancements: +* Added or improved file type filtering for diff. * [FEATURE #1390](https://github.com/BurntSushi/ripgrep/pull/1390): Add new `--no-context-separator` flag that always hides context separators. diff --git a/ignore/src/types.rs b/ignore/src/types.rs index 1f8f99b0..fa286b54 100644 --- a/ignore/src/types.rs +++ b/ignore/src/types.rs @@ -134,6 +134,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("dart", &["*.dart"]), ("d", &["*.d"]), ("dhall", &["*.dhall"]), + ("diff", &["*.patch", "*.diff"]), ("docker", &["*Dockerfile*"]), ("edn", &["*.edn"]), ("elisp", &["*.el"]),