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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index cb9fa3fb1a..f7a0c01868 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -252,7 +252,7 @@ class Git(FetchMethod):
252 repourl = repourl[7:] 252 repourl = repourl[7:]
253 clone_cmd = "LANG=C %s clone --bare --mirror %s %s --progress" % (ud.basecmd, repourl, ud.clonedir) 253 clone_cmd = "LANG=C %s clone --bare --mirror %s %s --progress" % (ud.basecmd, repourl, ud.clonedir)
254 if ud.proto.lower() != 'file': 254 if ud.proto.lower() != 'file':
255 bb.fetch2.check_network_access(d, clone_cmd) 255 bb.fetch2.check_network_access(d, clone_cmd, ud.url)
256 progresshandler = GitProgressHandler(d) 256 progresshandler = GitProgressHandler(d)
257 runfetchcmd(clone_cmd, d, log=progresshandler) 257 runfetchcmd(clone_cmd, d, log=progresshandler)
258 258
@@ -384,7 +384,7 @@ class Git(FetchMethod):
384 cmd = "%s ls-remote %s %s" % \ 384 cmd = "%s ls-remote %s %s" % \
385 (ud.basecmd, repourl, search) 385 (ud.basecmd, repourl, search)
386 if ud.proto.lower() != 'file': 386 if ud.proto.lower() != 'file':
387 bb.fetch2.check_network_access(d, cmd) 387 bb.fetch2.check_network_access(d, cmd, repourl)
388 output = runfetchcmd(cmd, d, True) 388 output = runfetchcmd(cmd, d, True)
389 if not output: 389 if not output:
390 raise bb.fetch2.FetchError("The command %s gave empty output unexpectedly" % cmd, ud.url) 390 raise bb.fetch2.FetchError("The command %s gave empty output unexpectedly" % cmd, ud.url)