diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index f5d14cc5fe..efb7fa2ca4 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py @@ -25,7 +25,7 @@ Supported SRC_URI options are: - protocol The method to use to access the repository. Common options are "git", - "http", "https", "file", "ssh" and "rsync". The default is "git". + "http", "https", "file", "ssh" and "rsync". The default is "https". - rebaseable rebaseable indicates that the upstream git repo may rebase in the future, @@ -145,7 +145,7 @@ class Git(FetchMethod): elif not ud.host: ud.proto = 'file' else: - ud.proto = "git" + ud.proto = "https" if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'): raise bb.fetch2.ParameterError("Invalid protocol type", ud.url)