From a196383fbece635c19c680fa159e63b866e44c6b Mon Sep 17 00:00:00 2001 From: Fabian Kirchner Date: Wed, 27 Sep 2023 14:17:21 +0200 Subject: use git ls-files to get list of files to look for issues --- src/extract.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/extract.sh b/src/extract.sh index 07eac37..2584552 100755 --- a/src/extract.sh +++ b/src/extract.sh @@ -2,9 +2,7 @@ set -efu -input_dir=${1-$PWD} - -find "$input_dir" -type f | grep -Pv '/\.|~$' | +git ls-files --cached --exclude-standard --other | while read -r input_file; do # TODO Add support for all tree-grepper supported files # -- cgit v1.2.3