Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a4f5e99 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Include .proto in sgrep()" am: 701cb0c0

Change-Id: I96d72ddd74bb7eb0494e12ced1e3f085b9f80058
parents 67729d86 701cb0c0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -954,7 +954,7 @@ case `uname -s` in
    Darwin)
        function sgrep()
        {
            find -E . -name .repo -prune -o -name .git -prune -o  -type f -iregex '.*\.(c|h|cc|cpp|hpp|S|java|xml|sh|mk|aidl|vts)' \
            find -E . -name .repo -prune -o -name .git -prune -o  -type f -iregex '.*\.(c|h|cc|cpp|hpp|S|java|xml|sh|mk|aidl|vts|proto)' \
                -exec grep --color -n "$@" {} +
        }

@@ -962,7 +962,7 @@ case `uname -s` in
    *)
        function sgrep()
        {
            find . -name .repo -prune -o -name .git -prune -o  -type f -iregex '.*\.\(c\|h\|cc\|cpp\|hpp\|S\|java\|xml\|sh\|mk\|aidl\|vts\)' \
            find . -name .repo -prune -o -name .git -prune -o  -type f -iregex '.*\.\(c\|h\|cc\|cpp\|hpp\|S\|java\|xml\|sh\|mk\|aidl\|vts\|proto\)' \
                -exec grep --color -n "$@" {} +
        }
        ;;