diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-08 00:06:34 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-08 00:06:34 +0000 |
commit | 4c76399930a6dbd297bf0456fa4fde219b482415 (patch) | |
tree | 683b38f0fca89e7637a2aab79ea6dcc02a1c0bb6 | |
parent | e9b7bc6914c0f1d9282f92748eaa3d308f5d03fd (diff) | |
download | openembedded-core-4c76399930a6dbd297bf0456fa4fde219b482415.tar.gz openembedded-core-4c76399930a6dbd297bf0456fa4fde219b482415.tar.bz2 openembedded-core-4c76399930a6dbd297bf0456fa4fde219b482415.zip |
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
-rw-r--r-- | bitbake/lib/bb/fetch/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py index c26ee3fff3..cdd5a1090c 100644 --- a/bitbake/lib/bb/fetch/git.py +++ b/bitbake/lib/bb/fetch/git.py @@ -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) |