[PATCH 0/7] Use context structures in walk_tree() functions

Lukas Fleischer cgit at cryptocrack.de
Sun Mar 3 18:06:40 CET 2013

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

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(-)


More information about the CGit mailing list