Signed-off-by: Julien Goodwin <jgoodwin@studio442.com.au>
[rlb@defaultvalue.org: adjust commit summary]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
stop_at, trees_visited = None, None
if prune_visited_trees:
trees_visited = set()
- stop_at = lambda (x): x.decode('hex') in trees_visited
+ stop_at = lambda x: x.decode('hex') in trees_visited
approx_live_count = 0
for ref_name, ref_id in git.list_refs():
for item in walk_object(cat_pipe, ref_id.encode('hex'),