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 <m...@bernhard-voelker.de> > 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.