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 08:50:32 -0700

On Mon, Sep 20, 2010 at 8:55 AM, Bruce Korb <address@hidden> wrote:

>> of determining whether you are
>> running from within a git repository, and there is no such command
>> as 'git root'.
>
> Sorry.  BitKeeper had it and the method for accomplishing it was
> too complicated, so I added an alias and forgot I'd done so:
> [alias]
>        root = !pwd -P
>
> 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



reply via email to

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