Skip to content
  • Jeff King's avatar
    tree-walk: drop MAX_TRAVERSE_TREES macro · acd13d1e
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    Since the previous commit dropped the hard-coded limit in
    traverse_trees(), we don't need this macro there anymore (the code can
    handle any number of trees in parallel).
    
    We do define MAX_UNPACK_TREES using MAX_TRAVERSE_TREES, due to
    5290d451
    
     (tree-walk.c: break circular dependency with unpack-trees,
    2020-02-01). So we can just directly define that as "8" now; we know
    traverse_trees() can handle whatever we throw at it.
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    acd13d1e