bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] maint.mk: get current gnulib revision correctly.


From: Pádraig Brady
Subject: Re: [PATCH] maint.mk: get current gnulib revision correctly.
Date: Mon, 28 Oct 2013 00:46:33 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 10/26/2013 11:21 PM, Gary V. Vaughan wrote:
> Further to my earlier bug report.  Okay to push?
> 
> * top/maint.mk (gnulib-version): Use git rev-parse to get the
> current HEAD revision.
> 
> Signed-off-by: Gary V. Vaughan <address@hidden>
> ---
>  top/maint.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/top/maint.mk b/top/maint.mk
> index c1b786f..c9f8cc8 100644
> --- a/top/maint.mk
> +++ b/top/maint.mk
> @@ -1283,7 +1283,7 @@ vc-diff-check:
>  rel-files = $(DIST_ARCHIVES)
>  
>  gnulib_dir ?= $(srcdir)/gnulib
> -gnulib-version = $$(cd $(gnulib_dir) && git describe)
> +gnulib-version = $$(cd $(gnulib_dir) && git rev-parse --short HEAD)
>  bootstrap-tools ?= autoconf,automake,gnulib
>  
>  # If it's not already specified, derive the GPG key ID from
> 

This would change the announce message from:
  Gnulib v0.0-7848-g4a82904
to:
  Gnulib 4a82904

which is fine by me.

thanks,
Pádraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]