diff options
author | René Scharfe <l.s.r@web.de> | 2019-11-26 15:23:31 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-27 02:21:18 (GMT) |
commit | 2059e79c0dac1e1e4e55733618dc6ca9d00b8aa4 (patch) | |
tree | b2ddd64b25ac399c7d407ef45b11efcdab7f2592 /.travis.yml | |
parent | 1768aaf01d3f57af8c4182d5887d219456f4a094 (diff) | |
download | git-2059e79c0dac1e1e4e55733618dc6ca9d00b8aa4.zip git-2059e79c0dac1e1e4e55733618dc6ca9d00b8aa4.tar.gz git-2059e79c0dac1e1e4e55733618dc6ca9d00b8aa4.tar.bz2 |
name-rev: use skip_prefix() instead of starts_with()
Let skip_prefix() advance refname to get rid of two magic numbers.
Signed-off-by: René Scharfe <l.s.r@web.de>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions