summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-08 00:06:34 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-08 00:06:34 +0000
commit4c76399930a6dbd297bf0456fa4fde219b482415 (patch)
tree683b38f0fca89e7637a2aab79ea6dcc02a1c0bb6 /bitbake/lib/bb/fetch
parente9b7bc6914c0f1d9282f92748eaa3d308f5d03fd (diff)
downloadpoky-4c76399930a6dbd297bf0456fa4fde219b482415.tar.gz
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
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/git.py2
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):
92 os.chdir(repodir) 92 os.chdir(repodir)
93 # Remove all but the .git directory 93 # Remove all but the .git directory
94 runfetchcmd("rm * -Rf", d) 94 runfetchcmd("rm * -Rf", d)
95 runfetchcmd("git pull %s://%s%s" % (ud.proto, ud.host, ud.path), d) 95 runfetchcmd("git fetch %s://%s%s" % (ud.proto, ud.host, ud.path), d)
96 runfetchcmd("git pull --tags %s://%s%s" % (ud.proto, ud.host, ud.path), d) 96 runfetchcmd("git pull --tags %s://%s%s" % (ud.proto, ud.host, ud.path), d)
97 runfetchcmd("git prune-packed", d) 97 runfetchcmd("git prune-packed", d)
98 runfetchcmd("git pack-redundant --all | xargs -r rm", d) 98 runfetchcmd("git pack-redundant --all | xargs -r rm", d)