1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/aurweb/templates/aurweb-git-gc.sh.j2
Leonidas Spyropoulos f95ca711f6
aurweb: setup git gc for all aurweb git repos
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-10-15 13:49:51 +03:00

4 lines
105 B
Django/Jinja

#!/bin/bash
find {{ aurweb_dir }} -maxdepth 1 -type d -name "*.git" -execdir sh -c 'cd {} && git gc' \;