summaryrefslogtreecommitdiff
path: root/tree-walk.c
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@linux-foundation.org>2008-03-05 20:15:44 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-03-09 00:43:47 -0800
commit01904572a5cf869983fab454f552542f16b1fe1f (patch)
tree00b4af2b2c0e90734ef46f311ccc49f29f63d1ff /tree-walk.c
parentMake 'traverse_trees()' traverse conflicting DF entries in parallel (diff)
downloadtgif-01904572a5cf869983fab454f552542f16b1fe1f.tar.xz
Move 'unpack_trees()' over to 'traverse_trees()' interface
This not only deletes more code than it adds, it gets rid of a singularly hard-to-understand function (unpack_trees_rec()), and replaces it with a set of smaller and simpler functions that use the generic tree traversal mechanism to walk over one or more git trees in parallel. It's still not the most wonderful interface, and by no means is the new code easy to understand either, but it's at least a bit less opaque. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree-walk.c')
0 files changed, 0 insertions, 0 deletions