summaryrefslogtreecommitdiff
path: root/t/t4100-apply-stat.sh
diff options
context:
space:
mode:
authorLibravatar Ramkumar Ramachandra <artagnon@gmail.com>2013-11-18 23:09:13 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-11-19 10:14:15 -0800
commitdb64eb655b48ea2c635480c6cc992b0156817aeb (patch)
tree87d42cabc931a0cc1419e5b1433d8da10540a9fc /t/t4100-apply-stat.sh
parentfor-each-ref: introduce %(color:...) for color (diff)
downloadtgif-db64eb655b48ea2c635480c6cc992b0156817aeb.tar.xz
for-each-ref: avoid color leakage
To make sure that an invocation like the following doesn't leak color, $ git for-each-ref --format='%(subject)%(color:green)' auto-reset at the end of the format string when the last color token seen in the format string isn't a color-reset. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100-apply-stat.sh')
0 files changed, 0 insertions, 0 deletions