RE: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig

2014-07-14 Thread Keller, Jacob E
> -Original Message- > From: Junio C Hamano [mailto:gits...@pobox.com] > Sent: Sunday, July 13, 2014 10:01 AM > To: Jeff King > Cc: Keller, Jacob E; git@vger.kernel.org > Subject: Re: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig > > Jeff King wr

Re: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig

2014-07-13 Thread Junio C Hamano
Jeff King writes: > On Fri, Jul 11, 2014 at 02:54:25PM -0700, Junio C Hamano wrote: > >> > Yeah, we're quite inconsistent there. In some cases we silently ignore >> > something unknown (e.g., a color.diff.* slot that we do not understand), >> > but in most cases if it is a config key we understan

Re: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig

2014-07-11 Thread Jeff King
On Fri, Jul 11, 2014 at 02:54:25PM -0700, Junio C Hamano wrote: > > Yeah, we're quite inconsistent there. In some cases we silently ignore > > something unknown (e.g., a color.diff.* slot that we do not understand), > > but in most cases if it is a config key we understand but a value we do > > no

Re: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig

2014-07-11 Thread Keller, Jacob E
On Fri, 2014-07-11 at 14:54 -0700, Junio C Hamano wrote: > Jeff King writes: > > > On Fri, Jul 11, 2014 at 10:24:07AM -0700, Jacob Keller wrote: > > > >> Updated to include changes due to Junio's feedback. This has not resolved > >> whether we should fail on a configuration error or simply warn.

Re: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig

2014-07-11 Thread Junio C Hamano
Jeff King writes: > On Fri, Jul 11, 2014 at 10:24:07AM -0700, Jacob Keller wrote: > >> Updated to include changes due to Junio's feedback. This has not resolved >> whether we should fail on a configuration error or simply warn. It appears >> that >> we actually seem to error out more than warn,

Re: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig

2014-07-11 Thread Keller, Jacob E
On Fri, 2014-07-11 at 14:22 -0400, Jeff King wrote: > On Fri, Jul 11, 2014 at 06:11:08PM +, Keller, Jacob E wrote: > > > I personally prefer error out on options, even though it can make it a > > bit more difficult, though as far as I know unknown fields simply warn > > or are ignored. (ie: ol

Re: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig

2014-07-11 Thread Jeff King
On Fri, Jul 11, 2014 at 06:11:08PM +, Keller, Jacob E wrote: > I personally prefer error out on options, even though it can make it a > bit more difficult, though as far as I know unknown fields simply warn > or are ignored. (ie: old versions of git just ignore unknown fields in > configuratio

Re: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig

2014-07-11 Thread Keller, Jacob E
On Fri, 2014-07-11 at 13:46 -0400, Jeff King wrote: > On Fri, Jul 11, 2014 at 10:24:07AM -0700, Jacob Keller wrote: > > > Updated to include changes due to Junio's feedback. This has not resolved > > whether we should fail on a configuration error or simply warn. It appears > > that > > we actual

Re: [PATCH 3/3 v5] tag: support configuring --sort via .gitconfig

2014-07-11 Thread Jeff King
On Fri, Jul 11, 2014 at 10:24:07AM -0700, Jacob Keller wrote: > Updated to include changes due to Junio's feedback. This has not resolved > whether we should fail on a configuration error or simply warn. It appears > that > we actually seem to error out more than warn, so I am unsure what the cor