From: Lukas Fleischer Date: Sun, 3 Mar 2013 16:22:30 +0000 (+0100) Subject: ui-tree.c: Use a context structure in walk_tree() X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/210a5711ad8135de025b1a058079eead3d680a67?hp=210a5711ad8135de025b1a058079eead3d680a67 ui-tree.c: Use a context structure in walk_tree() 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 ---