git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Nov 2024, #09; Mon, 25)

From
karthik nayak <karthik.188@gmail.com>
Date
Nov 27, 2024, 12:19 UTC
Message-ID
<CAOLa=ZTHVdJxq+vcAGMRMS3A53m_a38npEJgiF7xLd-3J6MiLg@mail.gmail.com>
In-Reply-To
<xmqqttbv4ty8.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
[snip]
Show 21 quoted lines
> [Cooking]
>
> * kn/midx-wo-the-repository (2024-11-25) 11 commits
>  - midx: inline the `MIDX_MIN_SIZE` definition
>  - midx: pass down `hash_algo` to `get_split_midx_filename_ext`
>  - midx: pass down `hash_algo` to `get_midx_filename[_ext]`
>  - midx: pass `repository` to `load_multi_pack_index`
>  - midx: cleanup internal usage of `the_repository` and `the_hash_algo`
>  - midx-write: pass down repository to `write_midx_file[_only]`
>  - write-midx: add repository field to `write_midx_context`
>  - midx-write: use `revs->repo` inside `read_refs_snapshot`
>  - midx-write: pass down repository to static functions
>  - builtin: pass repository to sub commands
>  - Merge branch 'kn/the-repository' into kn/midx-wo-the-repository
>  (this branch uses kn/the-repository.)
>
>  Yet another "pass the repository through the callchain" topic.
>
>  Expecting a reroll.
>  source: <20241119-374-refactor-midx-c-and-midx-write-c-to-not-depend-on-global-state-v2-0-e2f607174efc@gmail.com>
>

I'm waiting for https://lore.kernel.org/git/xmqq34jdyey3.fsf@gitster.g/T/#t settle down, and I'll then rebase and send this.

[snip]
Show 18 quoted lines
> * kn/the-repository (2024-11-25) 10 commits
>  - packfile.c: remove unnecessary prepare_packed_git() call
>  - 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`
>  (this branch is used by kn/midx-wo-the-repository.)
>
>  Various implicit uses of 'the_repoository' in the packfile code
>  have been eliminated.
>
>  Will merge to 'next'?
>  source: <cover.1732269840.git.karthik.188@gmail.com>

There were two commit message changes suggested by Kristoffer, I'm not sure they require a re-roll. But otherwise, I think it should be ready to be merged to next.

Previous: Junio C Hamano
Message 4 of 4 in “What's cooking in git.git (Nov 2024, #09; Mon, 25)”
  1. Junio C HamanoNov 25, 2024
  2. Patrick SteinhardtNov 27, 2024
  3. Junio C HamanoNov 28, 2024
  4. karthik nayakNov 27, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.