diff options
-rwxr-xr-x[-rw-r--r--] | .local/bin/garbage-collect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/garbage-collect b/.local/bin/garbage-collect index a133040..5219b40 100644..100755 --- a/.local/bin/garbage-collect +++ b/.local/bin/garbage-collect @@ -1,2 +1,2 @@ #!/bin/bash -find . -name '*.git'|while read -r dir; do(cd "$dir" && git gc); done +find /srv/git -name '*.git' -type d|while read -r dir; do(cd "$dir" && git gc); done |