• Derrick Stolee's avatar
    commit-reach: move walk methods from commit.c · 5227c385
    Derrick Stolee authored
    There are several commit walks in the codebase. Group them together into
    a new commit-reach.c file and corresponding header. After we group these
    walks into one place, we can reduce duplicate logic by calling
    equivalent methods.
    
    The method declarations in commit.h are not touched by this commit and
    will be moved in a following commit. Many consumers need to point to
    commit-reach.h and that would bloat this commit.
    Signed-off-by: 's avatarDerrick Stolee <dstolee@microsoft.com>
    Signed-off-by: 's avatarJunio C Hamano <gitster@pobox.com>
    5227c385
commit-reach.h 1.49 KB