bitbake/fetch2/git: report actual command used instead of summary
PATCH 1/1 bitbake/fetch2/git: report actual command used instead of summary
This makes it easier to manually replay commands when debugging
Before:
Fetcher accessed the network with the command git clone --bare github.com/wrpseudo/pseudo.git
After:
Fetcher accessed the network with the command git clone --bare git://github.com/wrpseudo/pseudo.git /OE/downloads/git2/github.com.wrpseudo.pseudo.git
Signed-off-by Koen Kooi <[email protected]>
--- bitbake/lib/bb/fetch2/git.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
bitbake/lib/bb/fetch2/git.py +1 -1
@@ -116,7 +116,7 @@ class Git(Fetch): # If the repo still doesn't exist, fallback to cloning it if not os.path.exists(ud.clonedir): - bb.fetch2.check_network_access(d, "git clone --bare %s%s" % (ud.host, ud.path)) + bb.fetch2.check_network_access(d, "%s clone --bare %s://%s%s%s %s" % (ud.basecmd, ud.proto, username, ud.host, ud.path, ud.clonedir)) runfetchcmd("%s clone --bare %s://%s%s%s %s" % (ud.basecmd, ud.proto, username, ud.host, ud.path, ud.clonedir), d) os.chdir(ud.clonedir)
Signature · 1 line
1.6.6.1