]> git.cameronkatri.com Git - cgit.git/commit
ui-plain.c: Use a context structure in walk_tree()
authorLukas Fleischer <cgit@cryptocrack.de>
Sun, 3 Mar 2013 16:27:54 +0000 (17:27 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 4 Mar 2013 14:12:55 +0000 (09:12 -0500)
commitb1db30cd2577fb59fb4490a284e0a34a0345cc02
treed7932d7599bc9c2406eb8b318daf5c03aa319447
parenta6317505ead198c23925c93abbb0926f70e02861
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>
ui-plain.c