[Buildroot] [PATCH] support/scripts/pkg-stats: simplify Git commit id retrieval

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Sep 15 14:10:35 UTC 2019


On Thu, 12 Sep 2019 18:55:22 +0200
Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:

> As suggested by Baruch Siach, using "git rev-parse HEAD" is a lot
> simpler than playing around with "git log" to just retrieve the commit
> id corresponding to the current HEAD.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> ---
>  support/scripts/pkg-stats | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list