[lkml]   [2007]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Distinguishing releases from pre-rc snapshots
Quoting Frans Pop <>:

> Note that you can see if there have been commits since a release
> (the last git tag) by using the command 'git describe'.
> $ git checkout -b temp v2.6.23
> Switched to a new branch "temp"
> $ git describe
> v2.6.23
> $ git checkout master
> $ git describe
> v2.6.23-4223-g65a6ec0
> Format is: last tag - # commits since last tag - id of HEAD commit

I don't see how I can use it in preprocessor conditions.

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

 \ /
  Last update: 2007-10-17 15:01    [W:0.036 / U:28.644 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site