]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
./all: after pruning stale refs also garbage collect the repo bones_was_here/git_gc 120/head
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 10 Feb 2025 19:59:00 +0000 (05:59 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 10 Feb 2025 19:59:00 +0000 (05:59 +1000)
misc/tools/all/git.subr

index 88aefa28e799ce9098d7beba4344889582d8072f..5a8431575cd2d3e3991242624bed10ac4526f9e5 100644 (file)
@@ -659,6 +659,7 @@ case "$cmd" in
                                        checkself "$cmd" "$@"
                                        cd "$d0/$d"
                                        verbose git remote prune origin
+                                       verbose git gc
                                        cd "$d0"
                                fi
                        else