From b803b471349c4622d5960f7ce2db830a163bb4d3 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 21 Feb 2009 17:04:43 -0600 Subject: [PATCH] setup.sh runs gc on newly created repositories. --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index e18d62c..95aad80 100755 --- a/setup.sh +++ b/setup.sh @@ -43,9 +43,10 @@ function git_remote_init_update() { fi # Merge with remote master if the repository was just created, otherwise - # the repository starts empty. + # the repository starts empty. Also run gc to compress the new repository. if [ $new = yes ]; then git merge "$2/master" + git gc > /dev/null fi # Go back to the starting directory. -- 2.45.2