diff mbox series

[2/2] fetch/git: correct typo in comment and style

Message ID 20250404185911.137153-2-peter.marko@siemens.com
State Accepted, archived
Commit b96040a0a066344527f0bc6ca4d09cda6b9d2f11
Headers show
Series [1/2] fetch/git: always fetch lfs when creating shallow tarball | expand

Commit Message

Peter Marko April 4, 2025, 6:59 p.m. UTC
From: Peter Marko <peter.marko@siemens.com>

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.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 bitbake/lib/bb/fetch2/git.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

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: