diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2006-04-14 18:22:20 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2006-04-14 18:22:20 +0000 |
commit | d5d958744fff66cf5286022d78cbec1839fca2e2 (patch) | |
tree | eb0c34a7c4953440b0f4f8d93b6d68b3df5d80d4 | |
parent | b303cfeeabd675ddf89b05cfbd5b3ec6dca18109 (diff) | |
download | bitbake-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.py | 1 |
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) |