From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Jonathan Nieder <jrnieder@gmail.com>, git@vger.kernel.org
Subject: Re: What's cooking in git.git (Aug 2013, #06; Tue, 27)
Date: Tue, 27 Aug 2013 15:32:20 -0700 [thread overview]
Message-ID: <xmqqppsyahor.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <20130827214808.GA26350@sigill.intra.peff.net> (Jeff King's message of "Tue, 27 Aug 2013 17:48:08 -0400")
Jeff King <peff@peff.net> writes:
> I don't feel too strongly either way. I mostly kept the range checks for
> --int because that is how the code already worked, and I assumed that
> was what was desired. But given what I know of the history of the config
> code, it is probably a completely random side effect of how it is
> implemented. :)
;-)
> I can try to prepare a series going in that direction (we still need to
> fix the internal truncation that currently happens, though).
Yeah, allowing range checks to allow those who do set using "git
config" from the command line to protect themselves is in theory
a good idea, but in practice that means they need to know the
internal type (and they need to know to pass --int in the first
place), so it may be a losing proposition.
> I do not know if it is so serious a fix that you need to go back to
> v1.8.2 series, but I think it is definitely maint-worthy. I was worried
> initially that the second part of the patch would involve too much
> refactoring for maint, but it actually turned out pretty simple.
>
> I'll prepare a squashed version that I think should be suitable for
> maint.
Thanks.
next prev parent reply other threads:[~2013-08-27 22:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-27 19:22 What's cooking in git.git (Aug 2013, #06; Tue, 27) Junio C Hamano
2013-08-27 20:51 ` Jeff King
2013-08-27 21:05 ` Junio C Hamano
2013-08-27 21:48 ` Jeff King
2013-08-27 22:32 ` Junio C Hamano [this message]
2013-08-28 6:39 ` Johannes Sixt
2013-08-27 21:25 ` Antoine Pelisse
2013-08-27 22:33 ` Junio C Hamano
2013-08-27 21:51 ` Junio C Hamano
2013-08-28 0:05 ` Kacper Kornet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqppsyahor.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=jrnieder@gmail.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.