summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/git.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index 9cc7f4e086..65ea5e5cad 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -131,8 +131,9 @@ class Git(Fetch):
131 return "git:" + ud.host + ud.path.replace('/', '.') 131 return "git:" + ud.host + ud.path.replace('/', '.')
132 132
133 def _latest_revision(self, url, ud, d): 133 def _latest_revision(self, url, ud, d):
134 134 """
135 bb.msg.note(1, bb.msg.domain.Fetcher, "Calling git ls-remote %s://%s%s %s" % (ud.proto, ud.host, ud.path, ud.branch ) ) 135 Compute the HEAD revision for the url
136 """
136 output = runfetchcmd("git ls-remote %s://%s%s %s" % (ud.proto, ud.host, ud.path, ud.branch), d, True) 137 output = runfetchcmd("git ls-remote %s://%s%s %s" % (ud.proto, ud.host, ud.path, ud.branch), d, True)
137 return output.split()[0] 138 return output.split()[0]
138 139