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

Re: What's cooking in git.git (Aug 2018, #03; Wed, 15)

From
Derrick Stolee <stolee@gmail.com>
Date
Aug 16, 2018, 13:15 UTC
Message-ID
<85c6eb4c-a083-4fb7-4860-b01a8ce9fa4f@gmail.com>
In-Reply-To
<xmqqpnyjgroj.fsf@gitster-ct.c.googlers.com>
On 8/15/2018 7:01 PM, Junio C Hamano wrote:
Show 20 quoted lines
> * ds/commit-graph-with-grafts (2018-07-19) 8 commits
>    (merged to 'next' on 2018-08-02 at 0ee624e329)
>   + commit-graph: close_commit_graph before shallow walk
>   + commit-graph: not compatible with uninitialized repo
>   + commit-graph: not compatible with grafts
>   + commit-graph: not compatible with replace objects
>   + test-repository: properly init repo
>   + commit-graph: update design document
>   + refs.c: upgrade for_each_replace_ref to be a each_repo_ref_fn callback
>   + refs.c: migrate internal ref iteration to pass thru repository argument
>
>   The recently introduced commit-graph auxiliary data is incompatible
>   with mechanisms such as replace & grafts that "breaks" immutable
>   nature of the object reference relationship.  Disable optimizations
>   based on its use (and updating existing commit-graph) when these
>   incompatible features are in use in the repository.
>
>   Perhaps eject and replace with another reroll when it comes.
>   cf. <a3640919-95cf-cca4-d552-4715a031dd7f@gmail.com>
>   cf. <86bmap7l7a.fsf@gmail.com>
Yes, I am working on a re-roll. Feel free to eject in the meantime.

For one, I need to base it on jk/core-use-replace-refs. This is not hard, as it is already in master.

For two, I was waiting for resolution on the way to handle arbitrary repositories in for_each_replace_ref. Stefan had a few proposed patches, but they don't seem to have completed. Can someone fill me in on the status there? I could re-roll with the two simple patches that I have, which send the struct repository pointer into the 'void *' data parameter.

Finally, I have some non-trivial feedback from Jakub to work on.
Thanks,
-Stolee
Previous: Junio C HamanoNext: Stefan Beller
Message 4 of 6 in “What's cooking in git.git (Aug 2018, #03; Wed, 15)”
  1. Junio C HamanoAug 15, 2018
  2. Stefan BellerAug 16, 2018
  3. Junio C HamanoAug 16, 2018
  4. Derrick StoleeAug 16, 2018
  5. Stefan BellerAug 16, 2018
  6. Duy NguyenAug 17, 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.