commit f3afcf007c732bb044e88e030027451bb3e4a4f0
parent faaeee793f56685d1df23f75af30c5bbc763b9a2
Author: gracefu <81774659+gracefuu@users.noreply.github.com>
Date: Thu, 10 Apr 2025 05:58:01 +0800
GC git repo before upload
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -91,6 +91,7 @@ rebuild:
zine release
[ -d public/.git ] || git init --bare public/.git
git push --mirror --force public/.git
+ git -C public/.git gc
git -C public/.git update-server-info
upload: $(addprefix $(TMPPATH)/upload/,$(UPLOAD))