]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/object-store-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Mon, 12 May 2025 21:22:48 +0000 (14:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 May 2025 21:22:49 +0000 (14:22 -0700)
Further code clean-up in the object-store layer.

* ps/object-store-cleanup:
  object-store: drop `repo_has_object_file()`
  treewide: convert users of `repo_has_object_file()` to `has_object()`
  object-store: allow fetching objects via `has_object()`
  object-store: move function declarations to their respective subsystems
  object-store: move and rename `odb_pack_keep()`
  object-store: drop `loose_object_path()`
  object-store: move `struct packed_git` into "packfile.h"

1  2 
builtin/clone.c
builtin/fetch.c
builtin/gc.c

diff --cc builtin/clone.c
Simple merge
diff --cc builtin/fetch.c
Simple merge
diff --cc builtin/gc.c
Simple merge