aboutsummaryrefslogtreecommitdiff
path: root/builtin-show-branch.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2009-10-17 23:04:19 +0200
committerJunio C Hamano <gitster@pobox.com>2009-10-22 23:33:48 -0700
commit02edd56b84f00c1a88c5602f5608033d4bc1cbff (patch)
tree17af050048efe8d8fc0ca7fdf7931570163568f2 /builtin-show-branch.c
parent00d3947366a50a06da40989a1fd1e3f99885a4c3 (diff)
downloadgit-02edd56b84f00c1a88c5602f5608033d4bc1cbff.tar.gz
git-02edd56b84f00c1a88c5602f5608033d4bc1cbff.tar.xz
Implement wrap format %w() as if it is a mode switch
I always considered line wrapping to be more similar to a colour, i.e. a state that one can change and that is applied to all following text until the next state change, except that it's always reset at the end of the format string. Here's a patch to implement this behaviour, using Dscho's strbuf_add_wrapped_text() Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-show-branch.c')
0 files changed, 0 insertions, 0 deletions