]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-refs.c: Refactor print_tag()
authorLukas Fleischer <cgit@cryptocrack.de>
Sat, 6 Apr 2013 21:39:08 +0000 (23:39 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Apr 2013 13:45:34 +0000 (15:45 +0200)
The code snippets for OBJ_TAG and other object types are almost
equivalent. Merge them and use a couple of inline if conditions to
select proper fields.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>

No differences found