Re: [PATCH] config: add --repository option

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] config: add --repository option

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:53

Nanako Shiraishi [off-list ref] writes:
Quoting Sverre Rabbelier [off-list ref]:
quoted
This is a shorthand similar to --system but instead uses
the config file of the current repository.

Signed-off-by: Sverre Rabbelier <redacted>
---

	I often want to check what the local value of a config
	entry is, hence this patch.

 builtin-config.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
Junio, may I ask what happened to this patch?
Nothing ;-)

I did see it, but simply forgot about it, as nobody else seemed to be
interested nor found anything objectionable in it.

I somehow think --repository is much harder to type than --local, and in
the context of the command, somehow --local would mesh better with other
existing options --system and --global, but that comment falls into the
bikeshedding category.

Re: [PATCH] config: add --repository option

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:46:53

Heya,

On Tue, Jun 2, 2009 at 17:29, Junio C Hamano [off-list ref] wrote:
I somehow think --repository is much harder to type than --local, and in
the context of the command, somehow --local would mesh better with other
existing options --system and --global, but that comment falls into the
bikeshedding category.
Ha! I had --local at first, but then figured that might be confusing
since 'local' usually refers to 'on my machine', rather than 'in this
repository'. I'm fine with either.

-- 
Cheers,

Sverre Rabbelier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help