You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/12/06 21:47:03 UTC

[trafficserver] branch master updated: Adds a reasonable rip-grep config file

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 <zw...@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.*$