diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-07-07 23:44:33 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-07-08 23:26:48 +0200 |
commit | ebe6154ff4b2a7399f6d3b66dba01c71237cf133 (patch) | |
tree | 43e5a7ad4438c1cbf8cc871ff1e9a2990bb81362 /package/python3/python3-012-dont-add-multiarch-path.patch | |
parent | 0fbba2cef24421552d21112e845cf9603a32a816 (diff) | |
download | buildroot-ebe6154ff4b2a7399f6d3b66dba01c71237cf133.tar.gz buildroot-ebe6154ff4b2a7399f6d3b66dba01c71237cf133.zip |
support/download: fix the git helper
When switching the git helper over to a shell script, a special case was
not carried over: in case the remote has the required reference, we
attempt a shallow clone, using --depth 1. However, this is not supported
when the remote is accessed with the http protocol.
Therefore, the download fails.
What happened before the conversion to a shell script was that the helper
in the Makefile would fallback to doing a full-clone.
This is the case and behaviour that were lost in the conversion.
To avoid making the script too complex, we only attempt a full clone if
needed. And we decide that a full clone is needed by default; we decide
it is unnecessary if the remote has the needed reference *and* the
shallow clone was successful.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python3/python3-012-dont-add-multiarch-path.patch')
0 files changed, 0 insertions, 0 deletions