summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index d73f0cbecf..f7c26b36cc 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -326,7 +326,7 @@ class Git(FetchMethod):
326 else: 326 else:
327 username = "" 327 username = ""
328 328
329 cmd = "%s ls-remote %s://%s%s%s refs/heads/%s refs/tags/%s" % \ 329 cmd = "%s ls-remote %s://%s%s%s refs/heads/%s refs/tags/%s^{}" % \
330 (ud.basecmd, ud.proto, username, ud.host, ud.path, ud.unresolvedrev[name], ud.unresolvedrev[name]) 330 (ud.basecmd, ud.proto, username, ud.host, ud.path, ud.unresolvedrev[name], ud.unresolvedrev[name])
331 if ud.proto.lower() != 'file': 331 if ud.proto.lower() != 'file':
332 bb.fetch2.check_network_access(d, cmd) 332 bb.fetch2.check_network_access(d, cmd)