summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0fd9beee19..ac9d86893e 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -395,9 +395,8 @@ class Git(FetchMethod):
395 return ud.revisions[name] 395 return ud.revisions[name]
396 396
397 def checkstatus(self, ud, d): 397 def checkstatus(self, ud, d):
398 fetchcmd = "%s ls-remote %s" % (ud.basecmd, ud.url)
399 try: 398 try:
400 runfetchcmd(fetchcmd, d, quiet=True) 399 self._lsremote(ud, d, "")
401 return True 400 return True
402 except FetchError: 401 except FetchError:
403 return False 402 return False