projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b303cfe
)
bitbake/lib/bb/fetch/git.py:
author
Richard Purdie
<rpurdie@linux.intel.com>
Fri, 14 Apr 2006 18:22:20 +0000
(18:22 +0000)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Fri, 14 Apr 2006 18:22:20 +0000
(18:22 +0000)
Prune packed git objects to slightly decrease the git fetchers disk usage.
lib/bb/fetch/git.py
patch
|
blob
|
history
diff --git
a/lib/bb/fetch/git.py
b/lib/bb/fetch/git.py
index
439d522
..
f30ae23
100644
(file)
--- 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)