* [Buildroot] [PATCH 1/1] Fix backward incompatibility on git downloader for git older than 1.8.4
@ 2016-07-28 8:40 Enrique Ocaña González
[not found] ` <CANQCQpZrwMF63UaRJzCw6+zXqa5uEO-735UJDDEi4gkgWZRKMg@mail.gmail.com>
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Enrique Ocaña González @ 2016-07-28 8:40 UTC (permalink / raw)
To: buildroot
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 <eocanha@igalia.com>
---
support/download/git | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/download/git b/support/download/git
index 663006b..416cd1b 100755
--- a/support/download/git
+++ b/support/download/git
@@ -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
--
1.8.3.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] Fix backward incompatibility on git downloader for git older than 1.8.4
[not found] ` <CANQCQpZrwMF63UaRJzCw6+zXqa5uEO-735UJDDEi4gkgWZRKMg@mail.gmail.com>
@ 2016-07-28 11:54 ` Matthew Weber
0 siblings, 0 replies; 4+ messages in thread
From: Matthew Weber @ 2016-07-28 11:54 UTC (permalink / raw)
To: buildroot
Enrique,
On Jul 28, 2016 3:40 AM, "Enrique Oca?a Gonz?lez" <eocanha@igalia.com>
wrote:
>
> 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 <eocanha@igalia.com>
> ---
> support/download/git | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/support/download/git b/support/download/git
> index 663006b..416cd1b 100755
> --- a/support/download/git
> +++ b/support/download/git
> @@ -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 )"
Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com>
>
> # 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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] Fix backward incompatibility on git downloader for git older than 1.8.4
2016-07-28 8:40 [Buildroot] [PATCH 1/1] Fix backward incompatibility on git downloader for git older than 1.8.4 Enrique Ocaña González
[not found] ` <CANQCQpZrwMF63UaRJzCw6+zXqa5uEO-735UJDDEi4gkgWZRKMg@mail.gmail.com>
@ 2016-07-28 19:30 ` Yann E. MORIN
2016-07-28 20:03 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2016-07-28 19:30 UTC (permalink / raw)
To: buildroot
Enrique, All,
On 2016-07-28 10:40 +0200, Enrique Oca?a Gonz?lez spake thusly:
> 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 <eocanha@igalia.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> support/download/git | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/support/download/git b/support/download/git
> index 663006b..416cd1b 100755
> --- a/support/download/git
> +++ b/support/download/git
> @@ -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
> --
> 1.8.3.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] Fix backward incompatibility on git downloader for git older than 1.8.4
2016-07-28 8:40 [Buildroot] [PATCH 1/1] Fix backward incompatibility on git downloader for git older than 1.8.4 Enrique Ocaña González
[not found] ` <CANQCQpZrwMF63UaRJzCw6+zXqa5uEO-735UJDDEi4gkgWZRKMg@mail.gmail.com>
2016-07-28 19:30 ` Yann E. MORIN
@ 2016-07-28 20:03 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2016-07-28 20:03 UTC (permalink / raw)
To: buildroot
>>>>> "Enrique" == Enrique Oca?a Gonz?lez <eocanha@igalia.com> 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 <eocanha@igalia.com>
Committed after rewording the commit message slightly, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-07-28 20:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-28 8:40 [Buildroot] [PATCH 1/1] Fix backward incompatibility on git downloader for git older than 1.8.4 Enrique Ocaña González
[not found] ` <CANQCQpZrwMF63UaRJzCw6+zXqa5uEO-735UJDDEi4gkgWZRKMg@mail.gmail.com>
2016-07-28 11:54 ` Matthew Weber
2016-07-28 19:30 ` Yann E. MORIN
2016-07-28 20:03 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox