Re: [PATCH] introduce git root
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 4, 2014, 21:30 UTC
- Message-ID
- <xmqqfvcvrtls.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20141204211232.GC19953@peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
> ... I was thinking of > just creating a new namespace, like: > > git var exec-path > git var author-ident > > and deprecating the 4 existing GIT_* variables.
I'm fine with that. As I wrote in my response to MMoy, I forgot about other kinds of options the "git" potty takes, and "git var name-without-needless-double-dashes" is a perfectly fine way to consolidate the querying of computed values in a single place.
Thanks.