diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2018-06-03 16:36:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-04 12:26:01 +0900 |
commit | aee9be2ebe370029f6289870fbd1714dccce2adf (patch) | |
tree | df21482111842a165495174f6f71018bebbd8d12 /t/t5100 | |
parent | Git 2.16.4 (diff) | |
download | tgif-aee9be2ebe370029f6289870fbd1714dccce2adf.tar.xz |
update-ref --stdin: use skip_prefix()
Use skip_prefix() instead of starts_with() and strcmp() when parsing
'git update-ref's stdin to avoid a couple of magic numbers.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100')
0 files changed, 0 insertions, 0 deletions