]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-log: Simplify decoration code
authorTim Nordell <tim.nordell@logicpd.com>
Fri, 26 Feb 2016 20:58:41 +0000 (14:58 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 12 May 2016 15:19:20 +0000 (17:19 +0200)
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>

No differences found