mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d1dae30b79
commit
af91ed1691
@@ -182,7 +182,7 @@ class Git(FetchMethod):
|
|||||||
ud.bareclone = ud.parm.get("bareclone","0") == "1"
|
ud.bareclone = ud.parm.get("bareclone","0") == "1"
|
||||||
if ud.bareclone:
|
if ud.bareclone:
|
||||||
ud.nocheckout = 1
|
ud.nocheckout = 1
|
||||||
|
|
||||||
ud.unresolvedrev = ""
|
ud.unresolvedrev = ""
|
||||||
ud.branch = ud.parm.get("branch", "")
|
ud.branch = ud.parm.get("branch", "")
|
||||||
if not ud.branch and not ud.nobranch:
|
if not ud.branch and not ud.nobranch:
|
||||||
@@ -557,7 +557,7 @@ class Git(FetchMethod):
|
|||||||
try:
|
try:
|
||||||
self.clone_shallow_local(ud, shallowclone, d)
|
self.clone_shallow_local(ud, shallowclone, d)
|
||||||
except:
|
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)
|
bb.utils.remove(tempdir, recurse=True)
|
||||||
os.mkdir(tempdir)
|
os.mkdir(tempdir)
|
||||||
ud.shallow_skip_fast = True
|
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
|
# 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
|
# 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
|
# 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.
|
# alternatives so we will not take patches adding password support here.
|
||||||
if ud.user:
|
if ud.user:
|
||||||
|
|||||||
Reference in New Issue
Block a user