[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Re: Use git describe in *version* when building from git
From: |
Julian Stecklina |
Subject: |
Re: [STUMP] Re: Use git describe in *version* when building from git |
Date: |
Tue, 10 Nov 2009 01:41:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Julian Stecklina <address@hidden> writes:
> Shawn Betts <address@hidden> writes:
>
>> On Mon, Nov 9, 2009 at 4:22 AM, Lionel Flandrin <address@hidden> wrote:
>>> On Mon, Nov 09, 2009 at 01:05:09PM +0100, Lionel Flandrin wrote:
>>>> I think it might be useful to have the commit hash in *version* when
>>>> building from git. By the way, it seems the git tags are outdated
>>>> (latest is 0.9.5 when the current version is 0.9.7).
>>>
>>> I forgot to check for clisp. This new patch should work for both.
>>
>> Beauty! I've wanted to do this for a long time. Can someone apply this puppy?
>
> Works. Applied. Committed.
I just noticed that this doesn't work with the RELOAD command, because
the current working directory is most likely your $HOME instead of the
stumpwm source directory. The attached patch fixes this problem, but is
a bit ugly. Is there a more beautiful solution?
If someone can confirm that this works for clisp and no nicer patch
comes up, I would nevertheless commit this as is.
Regards,
--
Julian Stecklina
The day Microsoft makes something that doesn't suck is probably the day
they start making vacuum cleaners - Ernst Jan Plugge
version-hash.patch
Description: Text Data
- [STUMP] Use git describe in *version* when building from git, Lionel Flandrin, 2009/11/09
- [STUMP] Re: Use git describe in *version* when building from git, Lionel Flandrin, 2009/11/09
- Re: [STUMP] Re: Use git describe in *version* when building from git, Shawn Betts, 2009/11/09
- Re: [STUMP] Re: Use git describe in *version* when building from git, Julian Stecklina, 2009/11/09
- Re: [STUMP] Re: Use git describe in *version* when building from git,
Julian Stecklina <=
- Re: [STUMP] Re: Use git describe in *version* when building from git, Shawn Betts, 2009/11/10
- Re: [STUMP] Re: Use git describe in *version* when building from git, Ben Spencer, 2009/11/12
- Re: [STUMP] Re: Use git describe in *version* when building from git, Shawn Betts, 2009/11/12
- Re: [STUMP] Re: Use git describe in *version* when building from git, Ben Spencer, 2009/11/13
- Re: [STUMP] Re: Use git describe in *version* when building from git, Julian Stecklina, 2009/11/13
- Re: [STUMP] Re: Use git describe in *version* when building from git, Shawn Betts, 2009/11/13
Re: [STUMP] Re: Use git describe in *version* when building from git, Ben Spencer, 2009/11/12
Re: [STUMP] Use git describe in *version* when building from git, Ben Spencer, 2009/11/10