Thread (28 messages) 28 messages, 2 authors, 2018-06-09

Re: [PATCH 17/20] abbrev: unify the handling of empty values

From: Martin Ågren <hidden>
Date: 2018-06-09 14:32:01

On 9 June 2018 at 16:24, Martin Ågren [off-list ref] wrote:
On 9 June 2018 at 00:41, Ævar Arnfjörð Bjarmason [off-list ref] wrote:
quoted
For no good reason the --abbrev= command-line option was less strict
than the core.abbrev config option, which came down to the latter
using git_config_int() which rejects an empty string, but the rest of
the parsing using strtoul() which will convert it to 0.
It will still be less strict in that it accepts trailing garbage, e.g.,
`--abbrev=7a`. Probably ok to leave it at that in this series, but
possibly useful to mention here that this only makes these options "less
differently strict".
Hmpf, please ignore. That's what I get for looking at a few patches,
taking a break, picking it up again and completely forgetting what's
going on...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help