oe-buildenv-internal: Remove GIT variables from BB_ENV_EXTRAWHITE
authorDarren Hart <dvhart@linux.intel.com>
Fri, 8 Feb 2013 22:27:19 +0000 (14:27 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 22:54:03 +0000 (22:54 +0000)
commita7756950c709f867796c5672cb9bc90bfff61b71
tree260544e49a8674b799f561126f2aed5ff20794aa
parentf84078eefaa5659059201a827689d24d69698eac
oe-buildenv-internal: Remove GIT variables from BB_ENV_EXTRAWHITE

The following variables perform no function outside of bitbake:

    GIT_CONFIG
    GIT_PROXY_HOST
    GIT_PROXY_PORT
    GIT_PROXY_IGNORE

GIT_CONFIG only affects the git-config command which is not relevant to
the fetcher. This was previously used with the OE GIT_CORE_CONFIG
variable which would provide a basic git config to use instead of the
user's config. This usage was deprecated by git for over a year now:

http://git.661346.n2.nabble.com/Overriding-gitconfig-using-GIT-CONFIG-td6680977

GIT_PROXY_HOST and GIT_PROXY_PORT are not used by git.

GIT_PROXY_IGNORE was an OE construct used to create the custom git
config and had no meaning outside of the OE environment. It is not used
by git.

Remove these variables from the fetcher environment.

Users wishing to configure git to work with a proxy should define the
GIT_PROXY_COMMAND environment variable to use an external script.
NO_PROXY can be used within this script to skip the proxy for certain
hosts.

(From OE-Core rev: ea0284a8cc1b531e115b7fdbfa18852f55573f00)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-buildenv-internal