trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [trafficserver] branch master updated: Adds a reasonable rip-grep config file
Date Thu, 06 Dec 2018 21:47:03 GMT
This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new f606676  Adds a reasonable rip-grep config file
f606676 is described below

commit f606676613ee233efd959b8f93b66b0696b1f294
Author: Leif Hedstrom <zwoop@apache.org>
AuthorDate: Wed Nov 21 12:06:58 2018 -0700

    Adds a reasonable rip-grep config file
    
    For this to be used though, you have to do e.g.
    
        export RIPGREP_CONFIG_PATH=.ripgreprc
    
    or make a rip-grep alias that sets it for a specific command only
---
 .ripgreprc       | 7 +++++++
 ci/rat-regex.txt | 1 +
 2 files changed, 8 insertions(+)

diff --git a/.ripgreprc b/.ripgreprc
new file mode 100644
index 0000000..5286a8a
--- /dev/null
+++ b/.ripgreprc
@@ -0,0 +1,7 @@
+--color=auto
+--no-heading
+--smart-case
+--line-number
+--multiline
+--trim
+--one-file-system
diff --git a/ci/rat-regex.txt b/ci/rat-regex.txt
index 1fda181..93a24d5 100644
--- a/ci/rat-regex.txt
+++ b/ci/rat-regex.txt
@@ -28,6 +28,7 @@
 ^\.indent.pro$
 ^\.vimrc$
 ^\.clang-.*$
+^\.ripgreprc$
 ^Doxyfile$
 ^CHANGES$
 ^CHANGELOG.*$


Mime
View raw message