Re: [PATCH] perf: Fix version when building out of tree

From: David Ahern
Date: Wed Nov 06 2013 - 09:54:49 EST

On 11/5/13, 10:36 PM, Ingo Molnar wrote:
I think you could avoid the 'short' complication altogether by doing
something like this:

+elif test -f ../../PERF-VERSION-FILE
+ TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE)

That extracts 'TAG' as a true sha1 and makes GVF correct on out of tree
builds as well.

Certainly. I was trying to make PERF-VERSION-FILE readable as a standalone file -- a better version descriptor than HEAD file.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at