diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/gitsm.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/gitsm.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/gitsm.py b/bitbake/lib/bb/fetch2/gitsm.py index c125cff54b..0392e48d1a 100644 --- a/bitbake/lib/bb/fetch2/gitsm.py +++ b/bitbake/lib/bb/fetch2/gitsm.py | |||
@@ -109,6 +109,7 @@ class GitSM(Git): | |||
109 | runfetchcmd("sed " + gitdir + "/config -i -e 's/bare.*=.*true/bare = false/'", d) | 109 | runfetchcmd("sed " + gitdir + "/config -i -e 's/bare.*=.*true/bare = false/'", d) |
110 | os.chdir(tmpclonedir) | 110 | os.chdir(tmpclonedir) |
111 | runfetchcmd(ud.basecmd + " reset --hard", d) | 111 | runfetchcmd(ud.basecmd + " reset --hard", d) |
112 | runfetchcmd(ud.basecmd + " checkout " + ud.revisions[ud.names[0]], d) | ||
112 | runfetchcmd(ud.basecmd + " submodule init", d) | 113 | runfetchcmd(ud.basecmd + " submodule init", d) |
113 | runfetchcmd(ud.basecmd + " submodule update", d) | 114 | runfetchcmd(ud.basecmd + " submodule update", d) |
114 | self._set_relative_paths(tmpclonedir) | 115 | self._set_relative_paths(tmpclonedir) |