From: Tim Nordell Date: Fri, 26 Feb 2016 20:58:41 +0000 (-0600) Subject: ui-log: Simplify decoration code X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/59d8fa1a62e7c19911fdf7ee9ceb0fdf8fa3331c?hp=59d8fa1a62e7c19911fdf7ee9ceb0fdf8fa3331c 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 ---