Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] introduce git root

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:03:12

Matthieu Moy [off-list ref] writes:
Junio C Hamano [off-list ref] writes:
quoted
Jeff King [off-list ref] writes:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help