Re: [RFC/PATCH] handle_alias: provide GIT_CWD to !alias
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Apr 27, 2011, 07:40 UTC
- Message-ID
- <BANLkTinEiT1_8czdY2DtBnY-5CqN1XAVcw@mail.gmail.com>
- In-Reply-To
- <4DB7BBEF.8010409@drmicha.warpmail.net>
On Wed, Apr 27, 2011 at 1:47 PM, Michael J Gruber <git@drmicha.warpmail.net> wrote:
> A more important point is the prefix-less case (i.e. we are in topdir): > Should GIT_YOUNAMEIT be empty then? I would say yes (just like > "rev-parse --show-prefix"), Duy said no. We need a third vote :)
I said no because you named it GIT_CWD. If it's GIT_PREFIX, then empty prefix is normal, no objections.
-- Duy