[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071017085905.pshy2ctghwk8skcc@webmail.spamcop.net>
Date: Wed, 17 Oct 2007 08:59:05 -0400
From: Pavel Roskin <proski@....org>
To: Frans Pop <elendil@...net.nl>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Distinguishing releases from pre-rc snapshots
Quoting Frans Pop <elendil@...net.nl>:
> 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.
--
Regards,
Pavel Roskin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists