aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/extract.sh4
1 files changed, 1 insertions, 3 deletions
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
#