Appropriate values for gitversion, gitdate when building RPM packages

Suvayu Ali fatkasuvayu+linux at gmail.com
Sat Nov 6 04:24:34 UTC 2010


On Friday 05 November 2010 08:32 PM, Nick Urbanik wrote:
> On 05/11/10 20:00 -0700, suvayu ali wrote:
>> On 5 November 2010 18:53, Nick Urbanik<nicku at nicku.org>  wrote:
>>> How do you determine the appropriate gitversion and gitdate values
>>> with the result of a git clone?
>>
>> git describe ?
>
> Thank you.

What the above command does is generate a name based on the last named
(tagged) commit to the latest commit in the repository.

>
>> Or do you mean something else?
>
> No, I'm a git newby.
>
> And gitdate is just the date of the most recent commit?  In UTC?

I think so, but I'm not sure.

GL
-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list