diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-07-20 16:33:08 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-20 15:38:54 -0700 |
commit | 920f93ca1c005a81cfb88c87fca18de5e4bde8c5 (patch) | |
tree | 6351e076059542ce9028274216ac8cf66c92494c /http-backend.c | |
parent | commit-reach: move ref_newer from remote.c (diff) | |
download | tgif-920f93ca1c005a81cfb88c87fca18de5e4bde8c5.tar.xz |
commit-reach: move commit_contains from ref-filter
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.
All methods are direct moves, except we also make the commit_contains()
method public so its consumers in ref-filter.c can still call it. We can
also test this method in a test-tool in a later commit.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-backend.c')
0 files changed, 0 insertions, 0 deletions