about summary refs log tree commit diff
path: root/ui-snapshot.h
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-03-03 17:27:54 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-04 09:12:55 -0500
commitb1db30cd2577fb59fb4490a284e0a34a0345cc02 (patch)
treed7932d7599bc9c2406eb8b318daf5c03aa319447 /ui-snapshot.h
parentui-plain.c: Do not access match variable in print_*() (diff)
downloadcgit-pink-b1db30cd2577fb59fb4490a284e0a34a0345cc02.tar.gz
cgit-pink-b1db30cd2577fb59fb4490a284e0a34a0345cc02.zip
ui-plain.c: Use a context structure in walk_tree()
Do not misuse global variables to save the context. Instead, use the
context pointer which was designed to share information between a
read_tree_fn and the caller.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-snapshot.h')
0 files changed, 0 insertions, 0 deletions