]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake: git.py - Fix weird git checkout issues by using git-fetch, not git-pull...
authorRichard Purdie <richard@openedhand.com>
Thu, 8 Nov 2007 00:06:34 +0000 (00:06 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 8 Nov 2007 00:06:34 +0000 (00:06 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3102 311d38ba-8fff-0310-9ca6-ca027cbcb966

bitbake/lib/bb/fetch/git.py

index c26ee3fff3732816ac7bbcd3ee0d1d51131bae7d..cdd5a1090c684c37aa455b7e294b0f145cccedf2 100644 (file)
@@ -92,7 +92,7 @@ class Git(Fetch):
         os.chdir(repodir)
         # Remove all but the .git directory
         runfetchcmd("rm * -Rf", d)
-        runfetchcmd("git pull %s://%s%s" % (ud.proto, ud.host, ud.path), 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 prune-packed", d)
         runfetchcmd("git pack-redundant --all | xargs -r rm", d)