Skip to content
Snippets Groups Projects
Commit b7c872f5 authored by nimrod's avatar nimrod
Browse files

Don't fail if grepping git ls-files doesn't find anything.

parent 8de0d145
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
set -eu set -u
{ git ls-files | grep "$@"; git grep --files-with-matches "$@"; } | sort -u { git ls-files | grep "$@"; git grep --files-with-matches "$@"; } | sort -u
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment