From mboxrd@z Thu Jan 1 00:00:00 1970 From: mailings at hupie.com (Ferry Huberts) Date: Sun, 03 Mar 2013 22:23:58 +0100 Subject: [PATCH 0/7] Use context structures in walk_tree() functions In-Reply-To: <1362330407-16034-1-git-send-email-cgit@cryptocrack.de> References: <1362330407-16034-1-git-send-email-cgit@cryptocrack.de> Message-ID: <5133BF6E.2000300@hupie.com> ok then :-) with the clarifications you provided Reviewed-by: Ferry Huberts On 03/03/13 18:06, Lukas Fleischer wrote: > 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(-) > -- Ferry Huberts