Re: [PATCH 2/5] builtin/config.c: support `--type=` as preferred alias for `--type`

2018-04-27 Thread Eric Sunshine
On Thu, Apr 26, 2018 at 2:00 AM, Taylor Blau <m...@ttaylorr.com> wrote: > On Thu, Apr 26, 2018 at 02:25:44PM +0900, Junio C Hamano wrote: >> Taylor Blau <m...@ttaylorr.com> writes: >> >> > Subject: Re: [PATCH 2/5] builtin/config.c: support `--type=` as >>

Re: [PATCH 2/5] builtin/config.c: support `--type=` as preferred alias for `--type`

2018-04-26 Thread Taylor Blau
On Thu, Apr 26, 2018 at 02:25:44PM +0900, Junio C Hamano wrote: > Taylor Blau <m...@ttaylorr.com> writes: > > > Subject: Re: [PATCH 2/5] builtin/config.c: support `--type=` as > > preferred alias for `--type` > > I'd retitle while queuing, as the last 'type' is a pl

Re: [PATCH 2/5] builtin/config.c: support `--type=` as preferred alias for `--type`

2018-04-25 Thread Junio C Hamano
Taylor Blau <m...@ttaylorr.com> writes: > Subject: Re: [PATCH 2/5] builtin/config.c: support `--type=` as > preferred alias for `--type` I'd retitle while queuing, as the last 'type' is a placeholder for concrete types like above. > +static int option_parse_type(const str

[PATCH 2/5] builtin/config.c: support `--type=` as preferred alias for `--type`

2018-04-25 Thread Taylor Blau
`git config` has long allowed the ability for callers to provide a 'type specifier', which instructs `git config` to (1) ensure that incoming values can be interpreted as that type, and (2) that outgoing values are canonicalized under that type. In another series, we propose to extend this