]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rs/tree-wo-the-repository' into jch
authorJunio C Hamano <gitster@pobox.com>
Fri, 16 Jan 2026 20:40:41 +0000 (12:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Jan 2026 20:40:41 +0000 (12:40 -0800)
Remove implicit reliance on the_repository global in the APIs
around tree objects and make it explicit which repository to work
in.

* rs/tree-wo-the-repository:
  cocci: remove obsolete the_repository rules
  cocci: convert parse_tree functions to repo_ variants
  tree: stop using the_repository
  tree: use repo_parse_tree()
  path-walk: use repo_parse_tree_gently()
  pack-bitmap-write: use repo_parse_tree()
  delta-islands: use repo_parse_tree()
  bloom: use repo_parse_tree()
  add-interactive: use repo_parse_tree_indirect()
  tree: add repo_parse_tree*()
  environment: move access to core.maxTreeDepth into repo settings

1  2 
environment.c
environment.h
fsck.c
pack-bitmap-write.c
revision.c
sequencer.c

diff --cc environment.c
Simple merge
diff --cc environment.h
Simple merge
diff --cc fsck.c
Simple merge
Simple merge
diff --cc revision.c
Simple merge
diff --cc sequencer.c
Simple merge