X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=setup.sh;fp=setup.sh;h=95aad803ea58989dd6d2b59b5a0a6063a124ac84;hp=e18d62c0f95197712c9fe6eeb98e265b288fb523;hb=b803b471349c4622d5960f7ce2db830a163bb4d3;hpb=b7ab75a41290728ec465f732d697f136186a4cef 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.