summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola git <git@parabola.nu>2016-12-16 11:00:01 +0000
committerParabola git <git@parabola.nu>2016-12-16 11:00:01 +0000
commit7584e81c8d858efd0dc540d7cff6844c075e1653 (patch)
tree69ca5775982a63e1ab548f72a0c791ef38a1f6f4
parent1f7e5695caf9a801f60c55c6591537826e351070 (diff)
Update from cron
-rwxr-xr-x[-rw-r--r--].local/bin/garbage-collect2
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