diff options
author | Lukas Fleischer <cgit@cryptocrack.de> | 2013-03-03 17:22:30 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-03-04 09:12:55 -0500 |
commit | 210a5711ad8135de025b1a058079eead3d680a67 (patch) | |
tree | ae8f59c0b2e73a4a708afe9f81cbc727270ad047 /ui-shared.c | |
parent | bfe576624541febd6005ad6a4633680369a7dc34 (diff) | |
download | cgit-210a5711ad8135de025b1a058079eead3d680a67.tar.gz cgit-210a5711ad8135de025b1a058079eead3d680a67.tar.bz2 cgit-210a5711ad8135de025b1a058079eead3d680a67.zip |
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 <cgit@cryptocrack.de>
Diffstat (limited to 'ui-shared.c')
0 files changed, 0 insertions, 0 deletions