summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-01-22 13:09:16 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-01-22 13:09:16 +0000
commitf543c2deea635e65c6b5b61dbda2401fb773a353 (patch)
tree4f22a064518e5c655182182b6d1ae2f7157b2416 /lib
parent5c2f85e2f600eba5dca367fc6358d1eee64aacc0 (diff)
downloadbitbake-f543c2deea635e65c6b5b61dbda2401fb773a353.tar.gz
git.py: Fix git branch tags fetching
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/fetch/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch/git.py b/lib/bb/fetch/git.py
index 65ea5e5ca..0c708e351 100644
--- a/lib/bb/fetch/git.py
+++ b/lib/bb/fetch/git.py
@@ -96,7 +96,7 @@ class Git(Fetch):
# Remove all but the .git directory
runfetchcmd("rm * -Rf", d)
runfetchcmd("git fetch %s://%s%s" % (ud.proto, ud.host, ud.path), d)
- runfetchcmd("git pull --tags %s://%s%s" % (ud.proto, ud.host, ud.path), d)
+ runfetchcmd("git fetch --tags %s://%s%s" % (ud.proto, ud.host, ud.path), d)
runfetchcmd("git prune-packed", d)
runfetchcmd("git pack-redundant --all | xargs -r rm", d)