summaryrefslogtreecommitdiff
path: root/t/t1514-rev-parse-push.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-03-20 04:14:01 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-03-20 18:34:09 +0900
commitaf117077d38af01f585adb16ded9deccb559b0b6 (patch)
tree52d7b87c06dca7ab2abad1e7de4c21450164c870 /t/t1514-rev-parse-push.sh
parentlog: drop unused rev_info from early output (diff)
downloadtgif-af117077d38af01f585adb16ded9deccb559b0b6.tar.xz
log: drop unused "len" from show_tagger()
We pass the length of the found "tagger" line to show_tagger(), but it does not use it; instead, it passes the string to pp_user_info(), which reads until newline or NUL. This is OK for our purposes because we always read the object contents into a buffer with an extra NUL (and indeed, our sole caller already relies on this by using starts_with). Let's drop the ignored parameter. And while we're touching the caller, let's use skip_prefix() to avoid a magic number. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1514-rev-parse-push.sh')
0 files changed, 0 insertions, 0 deletions