coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] doc: NEWS: correct "bug introduced in ..." version number


From: Pádraig Brady
Subject: Re: [PATCH] doc: NEWS: correct "bug introduced in ..." version number
Date: Fri, 09 Mar 2012 09:08:41 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 03/09/2012 06:37 AM, Bernhard Voelker wrote:
> This fixes a typo in the NEWS of commit
>   f7f398a du: fix -x: don't ignore non-directory arguments
> yesterday.
> 
> Have a nice day,
> Berny
> 
> 
>>From e3d303036345db49ace5fcd7216ac64c52bf024a Mon Sep 17 00:00:00 2001
> From: Bernhard Voelker <address@hidden>
> Date: Fri, 9 Mar 2012 07:33:54 +0100
> Subject: [PATCH] doc: NEWS: correct "bug introduced in ..." version number
> 
> * NEWS: s/8.14/8.15/
> ---
>  NEWS |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/NEWS b/NEWS
> index 38fd4fb..7f36dc6 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -39,7 +39,7 @@ GNU coreutils NEWS                                    -*- 
> outline -*-
> 
>    du --one-file-system (-x) would ignore any non-directory specified on
>    the command line.  For example, "touch f; du -x f" would print nothing.
> -  [bug introduced in coreutils-8.14]
> +  [bug introduced in coreutils-8.15]

Well spotted. I'll apply that.

For reference here are commands I often use to look these up:

$ csum=cfe1040c093be1c1a9b2403e713f1d1c2242a4bc
$ scsum=$(git rev-parse --short $csum)
$ git describe $scsum
v8.14-95-gcfe1040
$ git name-rev --tags --name-only $scsum
v8.15~34

So you can see cfe1040 was released before v8.15 was tagged,
so `git describe` gives: $prevtag-$num_commits-g$scsum
Whereas `git name-rev` is a bit more obvious by going
the other direction.  Either form can be used to reference
commits at the git command line.

cheers,
Pádraig.



reply via email to

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