Messages in this thread | | | Date | Wed, 08 May 2013 18:39:07 +0800 | From | Xiao Guangrong <> | Subject | Re: [PATCH] perf tools: Fix perf version generation |
| |
On 05/08/2013 05:43 PM, Robert Richter wrote: > From: Robert Richter <robert.richter@calxeda.com> > > The tag of the perf version is wrongly determined, always the latest > tag is taken regardless of the HEAD commit: > > $ perf --version > perf version 3.9.rc8.gd7f5d3 > $ git describe d7f5d3 > v3.9-rc7-154-gd7f5d33 > $ head -n 4 Makefile > VERSION = 3 > PATCHLEVEL = 9 > SUBLEVEL = 0 > EXTRAVERSION = -rc7 > > In other cases no tag might be found. > > This patch fixes this. > > This new implementation handles also the case if there are no tags at > all found in the git repo but there is a commit id.
I remember that Wang has posted a similar patch to fix this bug several weeks ago: http://lkml.org/lkml/2013/4/24/70
But have no response yet.
| |