diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-02-27 10:08:57 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-27 10:08:57 -0800 |
commit | dda83e69d08ce37c64157007e050a142660fd15c (patch) | |
tree | 1b432741919859123c726059befb4d674d459c58 /commit-reach.c | |
parent | 7dc55a04d8da6f430ee9a0c07d68c6098a9dea15 (diff) | |
parent | 613bef56b820cf7f24dc4b3ae65fc91826368185 (diff) |
Merge branch 'jk/shorten-unambiguous-ref-wo-sscanf'
sscanf(3) used in "git symbolic-ref --short" implementation found
to be not working reliably on macOS in UTF-8 locales. Rewrite the
code to avoid sscanf() altogether to work it around.
* jk/shorten-unambiguous-ref-wo-sscanf:
shorten_unambiguous_ref(): avoid sscanf()
shorten_unambiguous_ref(): use NUM_REV_PARSE_RULES constant
shorten_unambiguous_ref(): avoid integer truncation
Diffstat (limited to 'commit-reach.c')
0 files changed, 0 insertions, 0 deletions