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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 587a16994a..b47a53e3be 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -182,7 +182,7 @@ class Git(FetchMethod):
182 ud.bareclone = ud.parm.get("bareclone","0") == "1" 182 ud.bareclone = ud.parm.get("bareclone","0") == "1"
183 if ud.bareclone: 183 if ud.bareclone:
184 ud.nocheckout = 1 184 ud.nocheckout = 1
185 185
186 ud.unresolvedrev = "" 186 ud.unresolvedrev = ""
187 ud.branch = ud.parm.get("branch", "") 187 ud.branch = ud.parm.get("branch", "")
188 if not ud.branch and not ud.nobranch: 188 if not ud.branch and not ud.nobranch:
@@ -557,7 +557,7 @@ class Git(FetchMethod):
557 try: 557 try:
558 self.clone_shallow_local(ud, shallowclone, d) 558 self.clone_shallow_local(ud, shallowclone, d)
559 except: 559 except:
560 logger.warning("Fash shallow clone failed, try to skip fast mode now.") 560 logger.warning("Fast shallow clone failed, try to skip fast mode now.")
561 bb.utils.remove(tempdir, recurse=True) 561 bb.utils.remove(tempdir, recurse=True)
562 os.mkdir(tempdir) 562 os.mkdir(tempdir)
563 ud.shallow_skip_fast = True 563 ud.shallow_skip_fast = True
@@ -871,7 +871,7 @@ class Git(FetchMethod):
871 """ 871 """
872 # Note that we do not support passwords directly in the git urls. There are several 872 # Note that we do not support passwords directly in the git urls. There are several
873 # reasons. SRC_URI can be written out to things like buildhistory and people don't 873 # reasons. SRC_URI can be written out to things like buildhistory and people don't
874 # want to leak passwords like that. Its also all too easy to share metadata without 874 # want to leak passwords like that. Its also all too easy to share metadata without
875 # removing the password. ssh keys, ~/.netrc and ~/.ssh/config files can be used as 875 # removing the password. ssh keys, ~/.netrc and ~/.ssh/config files can be used as
876 # alternatives so we will not take patches adding password support here. 876 # alternatives so we will not take patches adding password support here.
877 if ud.user: 877 if ud.user: