]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-tree.c: Use a context structure in walk_tree()
authorLukas Fleischer <cgit@cryptocrack.de>
Sun, 3 Mar 2013 16:22:30 +0000 (17:22 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 4 Mar 2013 14:12:55 +0000 (09:12 -0500)
Use the context pointer to pass context information instead of misusing
global variables, as we already did in "ui-blob.c" and in "ui-plain.c".

In addition to the fixes to walk_tree(), pass the same structure to
ls_tree() and ls_item() which is read_tree_recursive()-based as well.

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

No differences found