This turned out to be a bit harder than I expected. I split my initial
patch (plus additions) into several chunks that are hopefully a bit
easier to understand/follow.

All patches are based on the "Fix several whitespace errors" I submitted
earlier.

Lukas Fleischer (7):
  ui-blob.c: Use a context structure in walk_tree()
  ui-plain.c: Do not access match variable in print_*()
  ui-plain.c: Use a context structure in walk_tree()
  ui-tree.c: Pass current revision to print_object()
  ui-tree.c: Declare the state variable globally
  ui-tree.c: Drop the header variable
  ui-tree.c: Use a context structure in walk_tree()

 ui-blob.c  | 42 ++++++++++++++++++++++++++----------------
 ui-plain.c | 47 +++++++++++++++++++++++++++--------------------
 ui-tree.c  | 60 ++++++++++++++++++++++++++++++++----------------------------
 3 files changed, 85 insertions(+), 64 deletions(-)

-- 
1.8.2.rc0.247.g811e0c0


_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to