summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2025-04-04 20:59:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-10 11:07:38 +0100
commitaf91ed1691bfa5b0cdaa680a60042faaf0022aef (patch)
tree1dd661894278dab0b6b4ece481cdc58fe9f9074d /bitbake/lib/bb/fetch2/git.py
parentd1dae30b7932c2e6c6829a04b19a7f9e440cdd5c (diff)
downloadpoky-af91ed1691bfa5b0cdaa680a60042faaf0022aef.tar.gz
bitbake: fetch/git: correct typo in comment and style
Correct typo Fash -> Fast. With it also delete some trailing spaces which are unnecessary and editors are trying to remove when changing anything in the file. (Bitbake rev: b96040a0a066344527f0bc6ca4d09cda6b9d2f11) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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: