summaryrefslogtreecommitdiff
path: root/t/lib-pager.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-08-19 14:12:48 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-04 09:48:26 -0700
commit78f23bdf68dae56d644892990484951583a64014 (patch)
tree324187d0682f989593a532d231acf8472d4d2f2b /t/lib-pager.sh
parentread_info_alternates: handle paths larger than PATH_MAX (diff)
downloadtgif-78f23bdf68dae56d644892990484951583a64014.tar.xz
show-branch: use a strbuf for reflog descriptions
When we show "branch@{0}", we format into a fixed-size buffer using sprintf. This can overflow if you have long branch names. We can fix it by using a temporary strbuf. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-pager.sh')
0 files changed, 0 insertions, 0 deletions