aboutsummaryrefslogtreecommitdiffstats
path: root/ui-plain.h
diff options
context:
space:
mode:
authorTim Nordell <tim.nordell@logicpd.com>2016-02-26 21:58:41 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-05-12 17:19:20 +0200
commit59d8fa1a62e7c19911fdf7ee9ceb0fdf8fa3331c (patch)
treea7215ee7bed77029a7940e3fb28b037d7b7c890f /ui-plain.h
parent499b23979cd29513df16e4c2acce934932e09f7a (diff)
downloadcgit-59d8fa1a62e7c19911fdf7ee9ceb0fdf8fa3331c.tar.gz
cgit-59d8fa1a62e7c19911fdf7ee9ceb0fdf8fa3331c.tar.xz
ui-log: Simplify decoration code
The decoration code inside of git returns the decoration type, so utilize this to create the decoration spans. Additionally, use prettify_refname(...) to get the shorter name for the ref. Signed-off-by: Tim Nordell <tim.nordell@logicpd.com>
Diffstat (limited to 'ui-plain.h')
0 files changed, 0 insertions, 0 deletions