]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Avoid bloating the src-dir scan.
authorWayne Davison <wayne@opencoder.net>
Tue, 30 Jun 2020 04:45:56 +0000 (21:45 -0700)
committerWayne Davison <wayne@opencoder.net>
Tue, 30 Jun 2020 04:45:56 +0000 (21:45 -0700)
testsuite/rsync.fns

index 65d071cae90c711897958a5b43781fcabd0de620..246aab0cea84db089fd47279fa0fad2e0ec87961 100644 (file)
@@ -97,7 +97,8 @@ printmsg() {
 }
 
 rsync_ls_lR() {
-    find "$@" -print | sort | sed 's/ /\\ /g' | xargs "$TOOLDIR/tls" $TLS_ARGS
+    find "$@" -name .git -prune -o -name auto-build-save -prune -o -print | \
+       sort | sed 's/ /\\ /g' | xargs "$TOOLDIR/tls" $TLS_ARGS
 }
 
 get_testuid() {