From af91ed1691bfa5b0cdaa680a60042faaf0022aef Mon Sep 17 00:00:00 2001 From: Peter Marko Date: Fri, 4 Apr 2025 20:59:11 +0200 Subject: 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/git.py | 6 +++--- 1 file 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): ud.bareclone = ud.parm.get("bareclone","0") == "1" if ud.bareclone: ud.nocheckout = 1 - + ud.unresolvedrev = "" ud.branch = ud.parm.get("branch", "") if not ud.branch and not ud.nobranch: @@ -557,7 +557,7 @@ class Git(FetchMethod): try: self.clone_shallow_local(ud, shallowclone, d) except: - logger.warning("Fash shallow clone failed, try to skip fast mode now.") + logger.warning("Fast shallow clone failed, try to skip fast mode now.") bb.utils.remove(tempdir, recurse=True) os.mkdir(tempdir) ud.shallow_skip_fast = True @@ -871,7 +871,7 @@ class Git(FetchMethod): """ # Note that we do not support passwords directly in the git urls. There are several # reasons. SRC_URI can be written out to things like buildhistory and people don't - # want to leak passwords like that. Its also all too easy to share metadata without + # want to leak passwords like that. Its also all too easy to share metadata without # removing the password. ssh keys, ~/.netrc and ~/.ssh/config files can be used as # alternatives so we will not take patches adding password support here. if ud.user: -- cgit v1.2.3-54-g00ecf