]> gitweb.ps.run Git - ps-cgit/commit
ui-tree.c: Pass current revision to print_object()
authorLukas Fleischer <cgit@cryptocrack.de>
Sun, 3 Mar 2013 15:45:14 +0000 (16:45 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 4 Mar 2013 14:12:55 +0000 (09:12 -0500)
commitfb5a37317de9532509b9c398916c0290212ae233
tree985d502d8122b83657943ac756db8386aba8401a
parentb1db30cd2577fb59fb4490a284e0a34a0345cc02
ui-tree.c: Pass current revision to print_object()

No longer access the global curr_rev variable in print_object().

This will make it easier to squash the curr_rev variable into a context
structure without having to pass the context to the print_object()
function.

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