[Top][All Lists]
[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
- Re: module libposix, (continued)
- Re: module libposix, Bruno Haible, 2010/09/18
- Re: module libposix, Bruce Korb, 2010/09/18
- Re: module libposix, Bruno Haible, 2010/09/18
- Re: module libposix, Bruce Korb, 2010/09/18
- Re: module libposix, Bruno Haible, 2010/09/18
- Re: module libposix, Bruce Korb, 2010/09/19
- Re: module libposix, Bruce Korb, 2010/09/20
- Re: module libposix, Eric Blake, 2010/09/20
- Re: module libposix, Bruce Korb, 2010/09/20
- Re: module libposix,
Matt Rice <=
- Re: module libposix, Bruce Korb, 2010/09/21
- Re: module libposix, Matt Rice, 2010/09/21
- Re: module libposix, Bruce Korb, 2010/09/21
Re: module libposix, Bruce Korb, 2010/09/23