bitbake: git.py - Fix weird git checkout issues by using git-fetch, not git-pull since we don't care about the index
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3102 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
e9b7bc6914
commit
4c76399930
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue