diff options
author | Erik Faye-Lund <kusmabite@gmail.com> | 2013-02-12 00:13:48 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-11 15:19:30 -0800 |
commit | b141a47801d6fb2d68ec48adfe7597ec3ce49c0d (patch) | |
tree | 70d3a883efb6842ffef0e2496f3b900e6283efc7 /Documentation/git-cherry-pick.txt | |
parent | user-manual: Rewrite git-gc section for automatic packing (diff) | |
download | tgif-b141a47801d6fb2d68ec48adfe7597ec3ce49c0d.tar.xz |
parse-options: report uncorrupted multi-byte options
Because our command-line parser considers only one byte at the time
for short-options, we incorrectly report only the first byte when
multi-byte input was provided. This makes user-errors slightly
awkward to diagnose for instance under UTF-8 locale and non-English
keyboard layouts.
Report the whole argument-string when a non-ASCII short-option is
detected.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Improved-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-cherry-pick.txt')
0 files changed, 0 insertions, 0 deletions