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

Re: What's cooking in git.git (Jun 2018, #07; Thu, 28)

From
Elijah Newren <newren@gmail.com>
Date
Jul 3, 2018, 18:30 UTC
Message-ID
<CABPp-BE=2nzEG=X0Jv3++J3Yo3H0yfJ9vd4pDYYBw5fpzDYc_g@mail.gmail.com>
In-Reply-To
<xmqqd0wawpwy.fsf@gitster-ct.c.googlers.com>
Hi Derrick,
On Thu, Jun 28, 2018 at 2:40 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 30 quoted lines
> * ds/multi-pack-index (2018-06-25) 24 commits
>  - midx: clear midx on repack
>  - packfile: skip loading index if in multi-pack-index
>  - midx: prevent duplicate packfile loads
>  - midx: use midx in approximate_object_count
>  - midx: use existing midx when writing new one
>  - midx: use midx in abbreviation calculations
>  - midx: read objects from multi-pack-index
>  - midx: prepare midxed_git struct
>  - config: create core.multiPackIndex setting
>  - midx: write object offsets
>  - midx: write object id fanout chunk
>  - midx: write object ids in a chunk
>  - midx: sort and deduplicate objects from packfiles
>  - midx: read pack names into array
>  - multi-pack-index: write pack names in chunk
>  - multi-pack-index: read packfile list
>  - packfile: generalize pack directory list
>  - multi-pack-index: expand test data
>  - multi-pack-index: load into memory
>  - midx: write header information to lockfile
>  - multi-pack-index: add 'write' verb
>  - multi-pack-index: add builtin
>  - multi-pack-index: add format details
>  - multi-pack-index: add design document
>
>  When there are too many packfiles in a repository (which is not
>  recommended), looking up an object in these would require
>  consulting many pack .idx files; a new mechanism to have a single
>  file that consolidates all of these .idx files is introduced.

pu fails to build for me (with the standard 'make DEVELOPER=1 ...'), and it appears to come from this series:

midx.c:567:15: error: ‘write_midx_pack_lookup’ defined but not used
[-Werror=unused-function]
 static size_t write_midx_pack_lookup(struct hashfile *f,

It looks like the use of this function was removed in v2 of your series, but the function itself was left behind? Could you take a look?

Thanks, Elijah

Previous: Johannes SchindelinNext: Eric Sunshine
Message 21 of 24 in “What's cooking in git.git (Jun 2018, #07; Thu, 28)”
  1. Junio C HamanoJun 28, 2018
  2. Stefan BellerJun 28, 2018
  3. Derrick StoleeJun 29, 2018
  4. Junio C HamanoJun 29, 2018
  5. ag/rebase-i-append-todo-help, was Re: What's cooking in git.git (Jun 2018, #07; Thu, 28)Alban Gruin, Jun 29, 2018
  6. Ævar Arnfjörð BjarmasonJun 29, 2018
  7. as/safecrlf-quiet-fix, was Re: What's cooking in git.git (Jun 2018, #07; Thu, 28)Johannes Schindelin, Jul 3, 2018
  8. Junio C HamanoJul 3, 2018
  9. Johannes SchindelinJul 4, 2018
  10. Junio C HamanoJul 6, 2018
  11. jh/partial-clone, was Re: What's cooking in git.git (Jun 2018, #07; Thu, 28)Johannes Schindelin, Jul 3, 2018
  12. as/sequencer-customizable-comment-char, was Re: What's cooking in git.git (Jun 2018, #07; Thu, 28)Johannes Schindelin, Jul 3, 2018
  13. ag/rebase-i-rewrite-todo, was Re: What's cooking in git.git (Jun 2018, #07; Thu, 28)Johannes Schindelin, Jul 3, 2018
  14. Junio C HamanoJul 6, 2018
  15. Johannes SchindelinJul 6, 2018
  16. Junio C HamanoJul 6, 2018
  17. Johannes SchindelinJul 6, 2018
  18. js/branch-diff, was Re: What's cooking in git.git (Jun 2018, #07; Thu, 28)Johannes Schindelin, Jul 3, 2018
  19. Junio C HamanoJul 3, 2018
  20. Johannes SchindelinJul 4, 2018
  21. Elijah NewrenJul 3, 2018
  22. Eric SunshineJul 3, 2018
  23. Jonathan TanJul 9, 2018
  24. Junio C HamanoJul 9, 2018

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.