[Lunar-commits] <moonbase> git: Added git gc to the download plugin

Terry Chan tchan at lunar-linux.org
Thu Nov 6 16:58:45 CET 2008


commit 40e254f4ecb5ea285d47cc0d9c4b3a180d675d84
Author: Terry Chan <tchan at lunar-linux.org>
Date:   Thu Nov 6 09:58:45 2008 -0600

    git: Added git gc to the download plugin
---
 devel/git/plugin.d/download-git.plugin |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/devel/git/plugin.d/download-git.plugin b/devel/git/plugin.d/download-git.plugin
index 90865e2..1b28551 100644
--- a/devel/git/plugin.d/download-git.plugin
+++ b/devel/git/plugin.d/download-git.plugin
@@ -63,7 +63,7 @@ plugin_source_download_git() {
     if [ -d "$SBASE/.git" ] ; then
       cd $SBASE
       verbose_msg "[${TRY}] git pull"
-      git pull && GOT_GIT="yes" 
+      git pull && git gc && GOT_GIT="yes" 
       cd ${CD}
     else
       verbose_msg "[${TRY}] git clone $GIT_URL"


More information about the Lunar-commits mailing list