Bug 9101

Summary: Error on support/download/git with system git older than 1.8.4
Product: buildroot Reporter: Enrique Ocaña González <eocanha>
Component: OtherAssignee: Yann E. MORIN <yann.morin.1998>
Status: RESOLVED FIXED    
Severity: normal CC: buildroot, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: Proposed patch

Description Enrique Ocaña González 2016-07-26 17:11:58 UTC
Created attachment 6556 [details]
Proposed patch

A recent commit[1] in the git downloader uses the "--no-patch" option, which 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.

I'm attaching a one-line patch which uses a "git log" variant and works on older systems.

[1] https://github.com/buildroot/buildroot/commit/3abd5ba4243489b821d44e407528020cd8a138f8#diff-75410bcfefacf16bcd60a2a6ac77c433R73
Comment 1 Yann E. MORIN 2016-07-26 17:27:42 UTC
Enrique, All,

Ok, good catch. I'm OK with the patch.

Could you please send it to the list? See our manual:
https://buildroot.org/downloads/manual/manual.html#submitting-patches

(All the reviews on patches happen on the list, not in the tracker).

Thanks!

Regards,
Yann E. MORIN.
Comment 2 Matt Weber 2016-07-27 20:59:50 UTC
Sent in the following patch based on Enrique's attachment.  Thanks!

https://patchwork.ozlabs.org/patch/653473/
Comment 3 Thomas Petazzoni 2016-08-19 09:28:15 UTC
Fixed in commit 1e39f0873393189278d92ac3589a329f42c8311c.