Fix backward incompatibility on git downloader for git older than 1.8.4
PATCH 1/1 Fix backward incompatibility on git downloader for git older than 1.8.4
The "--no-patch" option used by the git downloader appeared on git 1.8.4. Systems with older git versions show an error and fall back to the wget downloader, which isn't suitable for all the cases.
--- support/download/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
support/download/git +1 -1
@@ -76,7 +76,7 @@ _git checkout -q "'${cset}'" # Get date of commit to generate a reproducible archive. # %cD is RFC2822, so it's fully qualified, with TZ and all. -date="$( _git show --no-patch --pretty=format:%cD )" +date="$( _git log -1 --pretty=format:%cD )" # There might be submodules, so fetch them. if [ ${recurse} -eq 1 ]; then
Signature · 1 line
1.8.3.2
A message that is not in the archive (sent off-list or not yet received): CANQCQpZrwMF63UaRJzCw6+zXqa5uEO-735UJDDEi4gkgWZRKMg@mail.gmail.com
PATCH 1/1 Fix backward incompatibility on git downloader for git older than 1.8.4
Enrique,
Quoted 15 lines · Enrique Oca?a Gonz?lez
The "--no-patch" option used by the git downloader appeared on git 1.8.4. Systems with older git versions show an error and fall back to the wget downloader, which isn't suitable for all the cases.
Signed-off-by Enrique Oca?a Gonz?lez <[email protected]>--- support/download/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)support/download/git +0
-0
support/download/git _git checkout -q "'${cset}'" · line 79
Quoted 5 lines
support/download/git +1
-1@@ -76,7 +76,7 @@ _git checkout -q "'${cset}'" # Get date of commit to generate a reproducible archive. # %cD is RFC2822, so it's fully qualified, with TZ and all. -date="$( _git show --no-patch --pretty=format:%cD )" +date="$( _git log -1 --pretty=format:%cD )"
Quoted 10 lines
support/download/git +0
-1# There might be submodules, so fetch them. if [ ${recurse} -eq 1 ]; then --1.8.3.2
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160728/d71fa898/attachment.html>
PATCH 1/1 Fix backward incompatibility on git downloader for git older than 1.8.4
In reply to Enrique Ocaña GonzálezEnrique, All,
On 2016-07-28 10:40 +0200, Enrique Oca?a Gonz?lez spake thusly:
Quoted 5 lines
The "--no-patch" option used by the git downloader appeared on git 1.8.4. Systems with older git versions show an error and fall back to the wget downloader, which isn't suitable for all the cases.
Signed-off-by Enrique Oca?a Gonz?lez <[email protected]>
Regards,
Yann E. MORIN.
Quoted 24 lines
--- support/download/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)support/download/git +1
-1@@ -76,7 +76,7 @@ _git checkout -q "'${cset}'" # Get date of commit to generate a reproducible archive. # %cD is RFC2822, so it's fully qualified, with TZ and all. -date="$( _git show --no-patch --pretty=format:%cD )" +date="$( _git log -1 --pretty=format:%cD )" # There might be submodules, so fetch them. if [ ${recurse} -eq 1 ]; thenSignature · 6 lines
1.8.3.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 Fix backward incompatibility on git downloader for git older than 1.8.4
In reply to Enrique Ocaña GonzálezQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Enrique" == Enrique Oca?a Gonz?lez <[email protected]> writes:
The "--no-patch" option used by the git downloader appeared on git 1.8.4. Systems with older git versions show an error and fall back to the wget downloader, which isn't suitable for all the cases.
Signed-off-by Enrique Oca?a Gonz?lez <[email protected]>
Committed after rewording the commit message slightly, thanks.
Signature · 1 line
Bye, Peter Korsgaard