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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 2643cda786..45bdec0553 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -399,9 +399,8 @@ class Git(FetchMethod):
399 return ud.revisions[name] 399 return ud.revisions[name]
400 400
401 def checkstatus(self, ud, d): 401 def checkstatus(self, ud, d):
402 fetchcmd = "%s ls-remote %s" % (ud.basecmd, ud.url)
403 try: 402 try:
404 runfetchcmd(fetchcmd, d, quiet=True) 403 self._lsremote(ud, d, "")
405 return True 404 return True
406 except FetchError: 405 except FetchError:
407 return False 406 return False