aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2006-04-14 18:22:20 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2006-04-14 18:22:20 +0000
commitd5d958744fff66cf5286022d78cbec1839fca2e2 (patch)
treeeb0c34a7c4953440b0f4f8d93b6d68b3df5d80d4
parentb303cfeeabd675ddf89b05cfbd5b3ec6dca18109 (diff)
downloadbitbake-d5d958744fff66cf5286022d78cbec1839fca2e2.tar.gz
bitbake/lib/bb/fetch/git.py:
Prune packed git objects to slightly decrease the git fetchers disk usage.
-rw-r--r--lib/bb/fetch/git.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/fetch/git.py b/lib/bb/fetch/git.py
index 439d52218..f30ae2360 100644
--- a/lib/bb/fetch/git.py
+++ b/lib/bb/fetch/git.py
@@ -134,6 +134,7 @@ class Git(Fetch):
os.chdir(repodir)
rungitcmd("git pull %s://%s%s" % (proto, host, path),d)
rungitcmd("git pull --tags %s://%s%s" % (proto, host, path),d)
+ rungitcmd("git prune-packed", d)
# old method of downloading tags
#rungitcmd("rsync -a --verbose --stats --progress rsync://%s%s/ %s" % (host, path, os.path.join(repodir, ".git", "")),d)