mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-03 05:32:04 -07:00
ignore/types: add 'diff' file type
This includes .patch and .diff files. Fixes #1418, Closes #1419
This commit is contained in:
committed by
Andrew Gallant
parent
e71eedf0eb
commit
027adbf485
@@ -9,6 +9,7 @@ Performance improvements:
|
|||||||
|
|
||||||
Feature enhancements:
|
Feature enhancements:
|
||||||
|
|
||||||
|
* Added or improved file type filtering for diff.
|
||||||
* [FEATURE #1390](https://github.com/BurntSushi/ripgrep/pull/1390):
|
* [FEATURE #1390](https://github.com/BurntSushi/ripgrep/pull/1390):
|
||||||
Add new `--no-context-separator` flag that always hides context separators.
|
Add new `--no-context-separator` flag that always hides context separators.
|
||||||
|
|
||||||
|
@@ -134,6 +134,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
|
|||||||
("dart", &["*.dart"]),
|
("dart", &["*.dart"]),
|
||||||
("d", &["*.d"]),
|
("d", &["*.d"]),
|
||||||
("dhall", &["*.dhall"]),
|
("dhall", &["*.dhall"]),
|
||||||
|
("diff", &["*.patch", "*.diff"]),
|
||||||
("docker", &["*Dockerfile*"]),
|
("docker", &["*Dockerfile*"]),
|
||||||
("edn", &["*.edn"]),
|
("edn", &["*.edn"]),
|
||||||
("elisp", &["*.el"]),
|
("elisp", &["*.el"]),
|
||||||
|
Reference in New Issue
Block a user