Re: Help creating git alias
- From
- Eugene Sajine <euguess@gmail.com>
- Date
- Oct 31, 2013, 20:06 UTC
- Message-ID
- <CAPZPVFaFQrEdr7EN3a=ds2T_C87sct6ksH2SbjEg=43-ZNt6Jg@mail.gmail.com>
- In-Reply-To
- <xmqq7gct5iu1.fsf@gitster.dls.corp.google.com>
On Thu, Oct 31, 2013 at 3:41 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> Eugene Sajine <euguess@gmail.com> writes:
>
>> One note: i tried the ${GIT_PREFIX:-.} and ${GIT_PREFIX} and it seems
>> to give the same results. What is the expected difference here?
>
> GIT_PREFIX may be an empty string when you run from the top-level,
> in which case you would end up with "cd && ..." and end up working
> in your $HOME.
>got it! thank you!
Eugene