Skip to contentSkip to conversation

What's cooking in git.git (Nov 2024, #01; Fri, 1)

DISCUSSION Taylor Blau 1 participant 1 message Nov 1, 2024

lore
Share & tools
lore
#0 lore raw

What's cooking in git.git (Nov 2024, #01; Fri, 1)
--------------------------------------------------

Here are the topics that have been cooking in my tree. Commits prefixed with '+' are in 'next' (being in 'next' is a sign that a topic is stable enough to be used and are candidate to be in a future release). Commits prefixed with '-' are only in 'seen', and aren't considered "accepted" at all and may be annotated with an URL to a message that raises issues but they are no means exhaustive. A topic without enough support may be discarded after a long period of no activity (of course they can be resubmit when new interests arise).

This is the sixth and final integration round from the interim maintainer, since Junio appears to be back online after his well-deserved time off. The topics mentioned last time from 'next' have graduated to 'master', and 'next' is relatively thin as a result. As before, a large number of topics remain awaiting review.

Junio and I will coordinate the reverse hand-off, moving broken out topic branches back into his tree, and so forth.

(On a personal note, I appreciate everyone's patience in dealing with me as I navigated shuffling the patches around. I hope I was able to keep the project going reasonably smoothly in Junio's absence, and I'm grateful for the opportunity to have done so.)

Copies of the source code to Git live in many repositories, and the following is a list of the ones I push into or their mirrors. Some repositories have only a subset of branches.

With maint, master, next, seen, todo:

	https://github.com/git/git/

(Note that other usual spots are not updated while Junio is on vacation, including the below):

	git://git.kernel.org/pub/scm/git/git.git/
	git://repo.or.cz/alt-git.git/
	https://kernel.googlesource.com/pub/scm/git/git/
	https://gitlab.com/git-scm/git/

With all the integration branches and topics broken out:

https://github.com/ttaylorr/git/

Even though the preformatted documentation in HTML and man format are not sources, they are published in these repositories for convenience (replace "htmldocs" with "manpages" for the manual pages):

git://git.kernel.org/pub/scm/git/git-htmldocs.git/
https://github.com/gitster/git-htmldocs.git/

Release tarballs are available at:

https://www.kernel.org/pub/software/scm/git/

--------------------------------------------------
[Graduated to 'master']

* ak/more-typofixes (2024-10-24) 1 commit
(merged to 'next' on 2024-10-25 at 63e3f967f3)
+ t: fix typos

More typofixes.

source: <[email protected]>

* ak/t1016-cleanup (2024-10-22) 1 commit
(merged to 'next' on 2024-10-22 at 1dd1717591)
+ t1016: clean up style

Test cleanup.

source: <[email protected]>

* jc/breaking-changes-early-adopter-option (2024-10-11) 1 commit (merged to 'next' on 2024-10-18 at 899fb7e75f)
+ BreakingChanges: early adopter option

Describe the policy to introduce breaking changes.

source: <[email protected]>

* jk/dumb-http-finalize (2024-10-25) 11 commits
(merged to 'next' on 2024-10-30 at 00932eb724)
+ packfile: use oidread() instead of hashcpy() to fill object_id
+ packfile: use object_id in find_pack_entry_one()
+ packfile: convert find_sha1_pack() to use object_id
+ http-walker: use object_id instead of bare hash
+ packfile: warn people away from parse_packed_git()
+ packfile: drop sha1_pack_index_name()
+ packfile: drop sha1_pack_name()
+ packfile: drop has_pack_index()
+ dumb-http: store downloaded pack idx as tempfile
+ t5550: count fetches in "previously-fetched .idx" test
+ midx: avoid duplicate packed_git entries
(this branch is used by kn/the-repository.)

The dumb-http code regressed when the result of re-indexing a pack yielded an *.idx file that differs in content from the *.idx file it downloaded from the remote. This has been corrected by no longer relying on the *.idx file we got from the remote.

source: <[email protected]>

* kh/mv-breakage (2024-10-23) 1 commit (merged to 'next' on 2024-10-25 at db92c3efa1)
+ t7001: add failure test which triggers assertion

Demonstrate an assertion failure in 'git mv'.

source: <c4ada0b787736ecd5aee986b1b8a4f90ccb84e21.1729631436.git.code@khaugsbakk.name>

* kh/update-ref (2024-10-21) 6 commits
(merged to 'next' on 2024-10-25 at 317cc41dd3)
+ Documentation: mutually link update-ref and symbolic-ref
+ Documentation/git-update-ref.txt: discuss symbolic refs
+ Documentation/git-update-ref.txt: remove confusing paragraph
+ Documentation/git-update-ref.txt: demote symlink to last section
+ Documentation/git-update-ref.txt: remove safety paragraphs
+ Documentation/git-update-ref.txt: drop “flag”

Documentation updates to 'git-update-ref(1)'.

source: <[email protected]>

* ps/platform-compat-fixes (2024-10-28) 11 commits
(merged to 'next' on 2024-10-22 at 46b99d8301)
+ t6006: fix prereq handling with test_format ()
+ http: fix build error on FreeBSD
+ builtin/credential-cache: fix missing parameter for stub function
+ t7300: work around platform-specific behaviour with long paths on MinGW
+ t5500, t5601: skip tests which exercise paths with '[::1]' on Cygwin
+ t3404: work around platform-specific behaviour on macOS 10.15
+ t1401: make invocation of tar(1) work with Win32-provided one
+ t/lib-gpg: fix setup of GNUPGHOME in MinGW
+ t/lib-gitweb: test against the build version of gitweb
+ t/test-lib: wire up NO_ICONV prerequisite
+ t/test-lib: fix quoting of TEST_RESULTS_SAN_FILE

Various platform compatibility fixes split out of the larger effort to use Meson as the primary build tool.

source: <[email protected]>
source: <zod73s7j77gjj2f62clg3utxlxnclbyhjjz3yc74x7zyh35fzy@blwhzqefxyrs>

* ps/upload-pack-doc (2024-10-21) 1 commit
(merged to 'next' on 2024-10-25 at ede395593c)
+ doc: document how uploadpack.allowAnySHA1InWant impact other allow options

Documentation update to clarify that 'uploadpack.allowAnySHA1InWant' implies both 'allowTipSHA1InWant' and 'allowReachableSHA1InWant'.

source: <[email protected]>

* rj/cygwin-exit (2024-10-18) 1 commit
(merged to 'next' on 2024-10-25 at a3acd18921)
+ credential-cache: treat ECONNABORTED like ECONNRESET

Treat ECONNABORTED the same as ECONNRESET in 'git credential-cache' to work around a possible Cygwin regression. This resolves a race condition caused by changes in Cygwin's handling of socket closures, allowing the client to exit cleanly when encountering ECONNABORTED.

source: <[email protected]>

* rs/grep-lookahead (2024-10-22) 1 commit
(merged to 'next' on 2024-10-25 at 44fc090a5e)
+ grep: disable lookahead on error

Fix 'git grep' regression on macOS by disabling lookahead when encountering invalid UTF-8 byte sequences.

source: <[email protected]>

* sa/notes-edit (2024-10-21) 1 commit
(merged to 'next on 2024-10-25 at 29b26e5ca6)
+ notes: teach the -e option to edit messages in editor

Teach 'git notes add' and 'git notes append' a new '-e' flag, instructing them to open the note in $GIT_EDITOR before saving.

source: <[email protected]>

* sk/t9101-cleanup (2024-10-23) 1 commit
(merged to 'next' on 2024-10-25 at 43a35137b5)
+ t9101: ensure no whitespace after redirect

Test cleanup.

source: <[email protected]>

* ss/duplicate-typos (2024-10-21) 1 commit
(merged to 'next' on 2024-10-25 at a55ee8bc52)
+ global: Fix duplicate word typos

Typofixes.

source: <[email protected]>

* ua/atoi (2024-10-24) 3 commits
(merged to 'next' on 2024-10-25 at ecd980f7eb)
+ imap: replace atoi() with strtol_i() for UIDVALIDITY and UIDNEXT parsing
+ merge: replace atoi() with strtol_i() for marker size validation
+ daemon: replace atoi() with strtoul_ui() and strtol_i()

Replace various calls to atoi() with strtol_i() and strtoul_ui(), and add improved error handling.

source: <[email protected]>

* ua/t3404-cleanup (2024-10-14) 2 commits
(merged to 'next' on 2024-10-25 at 26b7b76329)
+ t3404: replace test with test_line_count()
+ t3404: avoid losing exit status with focus on git show and git cat-file

Test update.

source: <[email protected]>

--------------------------------------------------
[New Topics]

* bc/ancient-ci (2024-11-01) 3 commits
- Add additional CI jobs to avoid accidental breakage
- ci: remove clause for Ubuntu 16.04
- gitlab-ci: switch from Ubuntu 16.04 to 20.04

Drop support for ancient environments in various CI jobs.

Needs review.
source: <[email protected]>

* cw/worktree-extension (2024-11-01) 9 commits
- worktree: refactor repair_worktree_after_gitdir_move()
- worktree: add relative cli/config options to repair command
- worktree: add relative cli/config options to move command
- worktree: add relative cli/config options to add command
- worktree: add write_worktree_linking_files() function
- worktree: refactor infer_backlink return
- worktree: add relativeWorktrees extension
- setup: correctly reinitialize repository version
- Merge branch 'cw/config-extensions' into cw/worktree (this branch uses cw/config-extensions.)

Introduce a new repository extension to prevent older Git versions from mis-interpreting worktrees created with relative paths.

Needs review.
source: <[email protected]>

* ds/path-walk-1 (2024-10-31) 6 commits
- path-walk: mark trees and blobs as UNINTERESTING
- path-walk: visit tags and cached objects
- path-walk: allow consumer to specify object types
- t6601: add helper for testing path-walk API
- test-lib-functions: add test_cmp_sorted
- path-walk: introduce an object walk by path

Introduce a new API to visit objects in batches based on a common path, or by type.

Under discussion.
source: <[email protected]> cf. <ZyUqr/[email protected]>

* jk/left-right-bitmap (2024-11-01) 1 commit (merged to 'next' on 2024-11-01 at f1d0c395f5)
+ rev-list: skip bitmap traversal for --left-right

When called with '--left-right' and '--use-bitmap-index', 'rev-list' will produce output without any left/right markers, which has been corrected.

Will merge to 'master'?
source: <[email protected]>

* kh/bundle-docs (2024-10-29) 3 commits
- Documentation/git-bundle.txt: discuss naïve backups
- Documentation/git-bundle.txt: mention --all in spec. refs
- Documentation/git-bundle.txt: mention full backup example

Documentation improvements to more prominently call out the use of '--all' when creating bundles.

Will merge to 'next'?
source: <[email protected]>

--------------------------------------------------
[Cooking]

* as/show-index-uninitialized-hash (2024-10-27) 1 commit
- show-index: fix uninitialized hash function

Regression fix for 'show-index' when run outside of a repository.

Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>

* ps/mingw-rename (2024-10-27) 3 commits
- compat/mingw: support POSIX semantics for atomic renames
- compat/mingw: allow deletion of most opened files
- compat/mingw: share file handles created via CreateFileW()

Teaches the MinGW compatibility layer to support POSIX semantics for atomic renames when other process(es) have a file opened at the destination path.

Waiting for final ack before 'next'.
source: <[email protected]>

* ps/reftable-detach (2024-10-23) 8 commits
- reftable/system: provide thin wrapper for lockfile subsystem
- reftable/stack: drop only use of get_locked_file_path()
- reftable/system: provide thin wrapper for tempfile subsystem
- reftable/stack: stop using fsync_component() directly
- reftable/system: stop depending on "hash.h"
- reftable: explicitly handle hash format IDs
- reftable/system: move "dir.h" to its only user
- Merge branch 'ps/reftable-strbuf' into ps/reftable-detach

Isolates the reftable subsystem from the rest of Git's codebase by using fewer pieces of Git's infrastructure.

Needs review.
source: <[email protected]>

* cw/config-extensions (2024-10-22) 1 commit (merged to 'next' on 2024-10-30 at 875fa0b619)
+ doc: consolidate extensions in git-config documentation (this branch is used by cw/worktree-extension.)

Centralize documentation for repository extensions into a single place.

Will merge to 'master'?
source: <[email protected]>

* km/config-remote-by-name (2024-10-21) 1 commit
- config: support remote name in includeIf.hasconfig condition

Support conditionally including configuration by remote name, instead of just URL.

Needs review.
source: <[email protected]>

* kn/arbitrary-suffixes (2024-10-24) 1 commit
(merged to 'next' on 2024-10-30 at 3eedf30c6c)
+ CodingGuidelines: discourage arbitrary suffixes in function names

Update the project's CodingGuidelines to discourage naming functions with a "_1()" suffix.

Will merge to 'master'.
source: <[email protected]>

* ps/leakfixes-part-9 (2024-10-21) 22 commits
- list-objects-filter-options: work around reported leak on error
- builtin/merge: release outbut buffer after performing merge
- dir: fix leak when parsing "status.showUntrackedFiles"
- t/helper: fix leaking buffer in "dump-untracked-cache"
- t/helper: stop re-initialization of the_repository
- sparse-index: correctly free EWAH contents
- dir: release untracked cache data
- combine-diff: fix leaking lost lines
- builtin/tag: fix leaking key ID on failure to sign
- transport-helper: fix leaking import/export marks
- builtin/commit: fix leaking cleanup config
- trailer: fix leaking strbufs when formatting trailers
- trailer: fix leaking trailer values
- builtin/commit: fix leaking change data contents
- upload-pack: fix leaking URI protocols
- pretty: clear signature check
- diff-lib: fix leaking diffopts in do_diff_cache()
- revision: fix leaking bloom filters
- builtin/grep: fix leak with --max-count=0
- grep: fix leak in grep_splice_or()
- t/helper: fix leaks in "reach" test tool
- builtin/ls-remote: plug leaking server options

More leakfixes.

Needs review.
source: <[email protected]>

* y5/diff-pager (2024-10-21) 1 commit
- diff: setup pager only before diff contents truly ready

Delay setting up the pager in 'git diff' until after the diff contents itself is fully prepared.

Needs review.
source: <[email protected]>

* jc/optional-path (2024-10-14) 3 commits
- parseopt: values of pathname type can be prefixed with :(optional)
- config: values of pathname type can be prefixed with :(optional)
- t7500: make each piece more independent

Teach configuration values of type "pathname" a new ':(optional)' suffix.

Needs review.
source: <[email protected]>

* am/git-blame-ignore-revs-by-default (2024-10-14) 2 commits
- blame: introduce --override-ignore-revs to bypass ignore revisions list
- blame: respect .git-blame-ignore-revs automatically

Teaches 'git blame' to treat '.git-blame-ignore-revs' as if it were passed as '--ignore-revs-file' by default.

Under discussion.
source: <[email protected]>

* kn/ci-clang-format-tidy (2024-10-18) 2 commits (merged to 'next' on 2024-10-30 at d063e828d5)
+ clang-format: align consecutive macro definitions
+ clang-format: re-adjust line break penalties

Updates the '.clang-format' to match project conventions.

Will merge to 'master'.
source: <[email protected]>

* la/trailer-info (2024-10-14) 1 commit
- trailer: spread usage of "trailer_block" language

Refactoring.

Needs review.
source: <[email protected]>

* ps/upgrade-clar (2024-10-21) 5 commits
(merged to 'next' on 2024-10-30 at b8b092bb78)
+ cmake: set up proper dependencies for generated clar headers
+ cmake: fix compilation of clar-based unit tests
+ Makefile: extract script to generate clar declarations
+ Makefile: adjust sed command for generating "clar-decls.h"
+ t/unit-tests: update clar to 206accb
(this branch is used by ps/build.)

Buildfix and upgrade of Clar to a newer version.

Will merge to 'master'?
source: <[email protected]>

* wf/diff-highlight-install (2024-10-14) 1 commit
- diff-highlight: make install link into DESTDIR

Adds an 'install' recipe to diff-highlight's Makefile.

Under discussion.
source: <[email protected]>

* bc/drop-ancient-libcurl-and-perl (2024-10-23) 12 commits
- gitweb: make use of s///r
- Require Perl 5.26.0
- INSTALL: document requirement for libcurl 7.61.0
- git-curl-compat: remove check for curl 7.56.0
- git-curl-compat: remove check for curl 7.53.0
- git-curl-compat: remove check for curl 7.52.0
- git-curl-compat: remove check for curl 7.44.0
- git-curl-compat: remove check for curl 7.43.0
- git-curl-compat: remove check for curl 7.39.0
- git-curl-compat: remove check for curl 7.34.0
- git-curl-compat: remove check for curl 7.25.0
- git-curl-compat: remove check for curl 7.21.5

Drop support for older libcURL and Perl.

Under discussion.
source: <[email protected]>

* es/oss-fuzz (2024-10-16) 3 commits
- fuzz: port fuzz-url-decode-mem from OSS-Fuzz
- fuzz: port fuzz-parse-attr-line from OSS-Fuzz
- fuzz: port fuzz-credential-from-url-gently from OSS-Fuzz

Backport oss-fuzz tests for us to our codebase.

Needs review.
source: <[email protected]>

* tb/cross-pack-delta-reuse (2024-10-11) 11 commits
. pack-bitmap: enable reusing deltas with base objects in 'haves' bitmap . pack-bitmap.c: record whether the result was filtered
. pack-bitmap: enable cross-pack delta reuse
. t5332: enable OFS_DELTAs via test_pack_objects_reused
. write_reused_pack_one(): translate bit positions directly . pack-bitmap: drop from_midx field from bitmapped_pack . pack-bitmap.c: extract find_base_bitmap_pos()
. pack-bitmap.c: compare base_offset to delta_obj_offset . pack-bitmap.c: delay calling 'offset_to_pack_pos()'
. pack-bitmap.c: avoid unnecessary offset_to_pack_pos()
. pack-bitmap.c: do not pass pack_pos to try_partial_reuse()

Allow pack-objects to reuse an existing delta in a packfile, when it ends up sending the base object from a different packfile.

Needs review.
source: <[email protected]>

* bf/set-head-symref (2024-10-23) 8 commits
- fetch set_head: handle mirrored bare repositories
- fetch: set remote/HEAD if it does not exist
- refs: add create_only option to refs_update_symref_extended
- refs: add TRANSACTION_CREATE_EXISTS error
- remote set-head: better output for --auto
- remote set-head: refactor for readability
- refs: atomically record overwritten ref in update_symref
- t/t5505-remote: set default branch to main

When "git fetch $remote" notices that refs/remotes/$remote/HEAD is missing and discovers what branch the other side points with its HEAD, refs/remotes/$remote/HEAD is updated to point to it.

Needs review.
source: <[email protected]>

* ps/build (2024-10-24) 21 commits
- meson: fix conflicts with in-flight topics
- Introduce support for the Meson build system
- Documentation: add comparison of build systems
- t: allow overriding build dir
- t: better support for out-of-tree builds
- Documentation: extract script to generate a list of mergetools
- Documentation: teach "cmd-list.perl" about out-of-tree builds
- Documentation: allow sourcing generated includes from separate dir
- Makefile: simplify building of templates
- Makefile: allow "bin-wrappers/" directory to exist
- Makefile: refactor generators to be PWD-independent
- Makefile: refactor GIT-VERSION-GEN to be reusable
- Makefile: extract script to generate gitweb.cgi
- Makefile: extract script to massage Shell scripts
- Makefile: use "generate-perl.sh" to massage Perl library
- Makefile: extract script to massage Perl scripts
- Makefile: consistently use PERL_PATH
- Makefile: consistently use @PLACEHOLDER@ to substitute
- Makefile: use common template for GIT-BUILD-OPTIONS
- Merge branch 'ps/platform-compat-fixes' into ps/build
- Merge branch 'ps/upgrade-clar' into ps/build
(this branch uses ps/upgrade-clar.)

Build procedure update plus introduction of Mason based builds

Under discussion.
source: <[email protected]>

* hy/partial-repack-fix (2024-10-16) 3 commits
. partial-clone: update doc
. t0410: adapt tests to repack changes
. repack: pack everything into packfile

"git repack" avoids losing local objects that are reachable from objects in a packfile fetched from a promisor remote.

Need review.
source: <[email protected]>

* ej/cat-file-remote-object-info (2024-10-31) 6 commits
- cat-file: add remote-object-info to batch-command
- cat-file: add declaration of variable i inside its for loop
- transport: add client support for object-info
- serve: advertise object-info feature
- fetch-pack: move fetch initialization
- fetch-pack: refactor packet writing

"git cat-file --batch" and friends can optionally ask a remote server about objects it does not have.

Needs review.
source: <[email protected]>

* cw/fix-reachable-in-repo-with-promisor (2024-09-19) 2 commits . fetch-pack.c: do not declare local commits as "have" in partial repos . packfile: split promisor objects oidset into two

"git gc" in a partial clone (i.e. lacking objects that can be lazily fetched from promisor remotes) collected more than objects that promisor-remote can give.

Appears to break CI.
cf. https://github.com/ttaylorr/git/actions/runs/11523538245
source: <[email protected]>

* jc/strbuf-commented-something (2024-09-12) 2 commits
- strbuf: retire strbuf_commented_lines()
- strbuf: retire strbuf_commented_addf()

Update two functions whose callers always pass the same global variable to omit the redundant parameter and use the global in the callee themselves.

On hold.
source: <[email protected]>

* cc/promisor-remote-capability (2024-09-10) 4 commits
- promisor-remote: check advertised name or URL
- Add 'promisor-remote' capability to protocol v2
- strbuf: refactor strbuf_trim_trailing_ch()
- version: refactor strbuf_sanitize()

The v2 protocol learned to allow the server to advertise possible promisor remotes, and the client to respond with what promissor remotes it uses, so that the server side can omit objects that the client can lazily obtain from these other promissor remotes.

Comments? I got an impression that this is premature without finishing the discussion on a larger picture.
cf. <[email protected]>
source: <[email protected]>

* sj/ref-contents-check (2024-10-21) 9 commits
- ref: add symlink ref content check for files backend
- ref: check whether the target of the symref is a ref
- ref: add basic symref content check for files backend
- ref: add more strict checks for regular refs
- ref: port git-fsck(1) regular refs check for files backend
- ref: support multiple worktrees check for refs
- ref: initialize target name outside of check functions
- ref: check the full refname instead of basename
- ref: initialize "fsck_ref_report" with zero

"git fsck" learned to issue warnings on "curiously formatted" ref contents that have always been taken valid but something Git wouldn't have written itself (e.g., missing terminating end-of-line after the full object name).

Needs review.
cf. <[email protected]>
source: <ZxZX5HDdq_R0C77b@ArchLinux>

* tb/incremental-midx-part-2 (2024-10-04) 17 commits
. fixup! pack-bitmap.c: open and store incremental bitmap layers . fixup! midx: implement writing incremental MIDX bitmaps
. midx: implement writing incremental MIDX bitmaps
. pack-bitmap.c: use ewah_or_iterator for type bitmap iterators . pack-bitmap.c: keep track of each layer's type bitmaps
. ewah: implement struct ewah_or_iterator
. pack-bitmap.c: apply pseudo-merge commits with incremental MIDXs . pack-bitmap.c: compute disk-usage with incremental MIDXs
. pack-bitmap.c: teach rev-list --test-bitmap about incremental MIDXs . pack-bitmap.c: support bitmap pack-reuse with incremental MIDXs . pack-bitmap.c: teach show_objects_for_type() about incremental MIDXs . pack-bitmap.c: teach bitmap_for_commit() about incremental MIDXs . pack-bitmap.c: open and store incremental bitmap layers
. pack-revindex: prepare for incremental MIDX bitmaps
. Documentation: describe incremental MIDX bitmaps
. Merge branch 'tb/pseudo-merge-bitmap-fixes' into tb/incremental-midx-part-2 . Merge branch 'tb/incremental-midx-part-1' into tb/incremental-midx-part-2

Incremental updates of multi-pack index files.

Needs review.
source: <[email protected]>
source: <[email protected]>

* js/libgit-rust (2024-10-16) 5 commits
- Makefile: add option to build and test libgit-rs and libgit-rs-sys
- libgit: add higher-level libgit crate
- libgit-sys: also export some config_set functions
- libgit-sys: introduce Rust wrapper for libgit.a
- common-main: split init and exit code into new files

An rust binding to libgit.a functions has been introduced.

Needs review.
source: <[email protected]>

* jc/too-many-arguments (2024-08-06) 4 commits
- miscellaneous: avoid "too many arguments"
- notes: avoid "too many arguments"
- cat-file: avoid "too many arguments"
- refs: avoid "too many arguments"

Error message clarification.

On hold.
source: <[email protected]>

* ew/cat-file-optim (2024-08-25) 10 commits
- cat-file: use writev(2) if available
- cat-file: batch_write: use size_t for length
- cat-file: batch-command uses content_limit
- object_info: content_limit only applies to blobs
- packfile: packed_object_info avoids packed_to_object_type
- cat-file: use delta_base_cache entries directly
- packfile: inline cache_or_unpack_entry
- packfile: fix off-by-one in content_limit comparison
- packfile: allow content-limit for cat-file
- packfile: move sizep computation

"git cat-file --batch" has been optimized.

Waiting for review responses.
source: <[email protected]>

* jt/commit-graph-missing (2024-11-01) 2 commits
. fetch-pack: warn if in commit graph but not obj db . Revert "fetch-pack: add a deref_without_lazy_fetch_extended()"

A regression where commit objects missing from a commit-graph can cause an infinite loop when doing a fetch in a partial clone has been fixed.

Breaks CI.
source: <[email protected]>
cf. https://github.com/ttaylorr/git/actions/runs/11631453312/job/32392591229

* kn/the-repository (2024-10-31) 10 commits
. midx: add repository to multi_pack_index struct
. config: make packed_git_(limit|window_size) non-global variables . config: make delta_base_cache_limit a non-global variable . packfile: pass down repository to for_each_packed_object . packfile: pass down repository to has_object[_kept]_pack . packfile: pass down repository to odb_pack_name
. packfile: pass repository to static function in the file . packfile: use repository from packed_git directly
. packfile: add repository to struct packed_git

Various uses of 'the_repoository' in the packfile code have been eliminated.

Breaks CI, and expecting another round.
source: <[email protected]>
cf. https://github.com/ttaylorr/git/actions/runs/11602969593/job/32309061019