Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed May 3, 2016
1 parent 05ce6bb commit 6eedb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-secrets
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ git_grep() {
local options="$1"; shift
local files=$@ combined_patterns=$(load_combined_patterns)
[ -z "${combined_patterns}" ] && return 1
GREP_OPTIONS= LC_ALL=C git grep -nwHEI ${options} "${combined_patterns}" $@
GREP_OPTIONS= LC_ALL=C git grep -nwHEI ${options} "${combined_patterns}" $files
}

# Performs a regular grep, taking into account patterns and recursion.
Expand Down

0 comments on commit 6eedb6a

Please sign in to comment.