bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: module libposix


From: Matt Rice
Subject: Re: module libposix
Date: Tue, 21 Sep 2010 09:23:51 -0700

On Tue, Sep 21, 2010 at 9:17 AM, Bruce Korb <address@hidden> wrote:
> Hi,
>
> On Tue, Sep 21, 2010 at 8:50 AM, Matt Rice <address@hidden> wrote:
>>> There is an approved way, but it is really obtuse:
>>>  $(\cd ./$(git rev-parse --show-cdup) && pwd -P)
>>> Far from the first thing that comes to mind.
>>
>> hmm, even this doesn't seem to work when the GIT_DIR
>> environment variable is set
>
> If you google for "git root" you get that answer and it seems to work
> for me in a number of environments.  The GIT folks apparently
> have a little work to do....I like my alias.

yeah, I found you'd also need to set GIT_WORK_TREE in addition to
GIT_DIR in this case aka my problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]