Re: [PATCH] introduce git root
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 4, 2014, 20:19 UTC
- Message-ID
- <xmqqr3wfrwuu.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <vpqegsfchi4.fsf@anie.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 20 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > >> Jeff King <peff@peff.net> writes: >> >>> Christian raised the issue of cluttering the "git --option" >>> namespace, >>> and I do agree that's a potential issue. >> >> I am not sure if that is an issue at all. You will need the same >> number of options to cover all the necessary "computables" somewhere >> anyway. >> >> "git --show-this-or-that-computable" is not more or not less >> cluttering compared to "git var --show-this-or-that-computable". > > I disagree. > > Right now, a user reading "man git" sees --version, --help, -C, > --exec-path, --html-path, --man-path, ... at a flat list (it's actually > the first thing he can read from the man page).
Ahh, OK, you are worried about these "--give-me-computed-values" mixed with other kinds of options. I didn't consider that part of the equation.
OK, "git var --exec-path" (and --friends), that is.