lkml.org 
[lkml]   [2013]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2013-05-08 13:21    [W:0.671 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site