]> git.ipfire.org Git - thirdparty/git.git/commit - commit-reach.c
Merge branch 'ds/reachable'
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2018 20:53:52 +0000 (13:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2018 20:53:52 +0000 (13:53 -0700)
commit1b7a91da71d42759dfb83fa3a17be54ad01f0132
tree921c80479f0f12a95114b0b32f6fdfa928f170c8
parent4d6d6ef1fcce0e7d1fd2d3d38c2372998a105e96
parent6621c838743812aaba96e55cfec8524ea1144c2d
Merge branch 'ds/reachable'

The code for computing history reachability has been shuffled,
obtained a bunch of new tests to cover them, and then being
improved.

* ds/reachable:
  commit-reach: correct accidental #include of C file
  commit-reach: use can_all_from_reach
  commit-reach: make can_all_from_reach... linear
  commit-reach: replace ref_newer logic
  test-reach: test commit_contains
  test-reach: test can_all_from_reach_with_flags
  test-reach: test reduce_heads
  test-reach: test get_merge_bases_many
  test-reach: test is_descendant_of
  test-reach: test in_merge_bases
  test-reach: create new test tool for ref_newer
  commit-reach: move can_all_from_reach_with_flags
  upload-pack: generalize commit date cutoff
  upload-pack: refactor ok_to_give_up()
  upload-pack: make reachable() more generic
  commit-reach: move commit_contains from ref-filter
  commit-reach: move ref_newer from remote.c
  commit.h: remove method declarations
  commit-reach: move walk methods from commit.c
28 files changed:
Makefile
builtin/branch.c
builtin/commit.c
builtin/fetch.c
builtin/fmt-merge-msg.c
builtin/log.c
builtin/merge.c
builtin/pull.c
builtin/receive-pack.c
builtin/remote.c
commit-graph.c
commit-graph.h
commit-reach.c
commit.c
fast-import.c
merge-recursive.c
object.h
pack-bitmap-write.c
ref-filter.c
remote.c
remote.h
revision.c
sequencer.c
sha1-name.c
submodule.c
t/helper/test-tool.c
t/helper/test-tool.h
upload-pack.c