diff options
-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) |