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

Re: What's cooking in git.git (Apr 2020, #03; Tue, 28)

From
Taylor Blau <me@ttaylorr.com>
Date
Apr 29, 2020, 16:55 UTC
Message-ID
<20200429165501.GC83442@syl.local>
In-Reply-To
<xmqqr1w6xmtf.fsf@gitster.c.googlers.com>
On Wed, Apr 29, 2020 at 09:45:48AM -0700, Junio C Hamano wrote:
Show 26 quoted lines
> Taylor Blau <me@ttaylorr.com> writes:
>
> >> * tb/commit-graph-split-strategy (2020-04-15) 7 commits
> >>  + commit-graph.c: introduce '--[no-]check-oids'
> >>  + commit-graph.h: replace 'commit_hex' with 'commits'
> >>  + oidset: introduce 'oidset_size'
> >>  + builtin/commit-graph.c: introduce split strategy 'replace'
> >>  + builtin/commit-graph.c: introduce split strategy 'no-merge'
> >>  + builtin/commit-graph.c: support for '--split[=<strategy>]'
> >>  + t/helper/test-read-graph.c: support commit-graph chains
> >>  (this branch is used by tb/commit-graph-fd-exhaustion-fix.)
> >>
> >>  "git commit-graph write" learned different ways to write out split
> >>  files.
> >>
> >>  Will merge to 'master'.
> > ...
> > In either case, the rest of the series is ready to merge, and other
> > topics depend on it, so I figure that we can merge the first 6 patches
> > and hold off on the last one for now.
> >
> > Sound good?
>
> If other topics that depend on it build on the whole series, merging
> only the first 6 does not make much sense.  These other ones are
> blocked forever.

Right... but I'm not sure that I agree that this other topic "builds" on the whole series. There is nothing in the last commit that the other series is dependent on. So, I was suggesting something like:

  $ git checkout tb/commit-graph-split-strategy
  $ git revert HEAD
  $ git checkout tb/commit-graph-fd-exhaustion-fix
  $ git rebase tb/commit-graph-split-strategy # making sure to drop the final patch
  $ git checkout master
  $ git merge tb/commit-graph-split-strategy
  $ git branch -d tb/commit-graph-fd-exhaustion-fix tb/commit-graph-split-strategy
Show 15 quoted lines
> Applying a single patch to revert the no-check-oids patch on top of
> this series, and merging the resulting 8-commit series to 'master',
> may be a workable solution, though.  We need to keep an eye on the
> merge possibly reintroducing the no-check-oids stuff when the
> dependent topics are merged to 'master' (that is why we do not want
> to see people build new things on another topic that is slushy), but
> I think there is only one topic, so it should be manageable.
>
> Why don't we do this:
>
>  $ git checkout tb/commit-graph-fd-exhaustion-fix
>  $ git revert tb/commit-graph-split-strategy
>  $ git checkout master
>  $ git merge tb/commit-graph-fd-exhaustion-fix
>  $ git branch -d tb/commit-graph-fd-exhaustion-fix tb/commit-graph-split-strategy
That's fine with me, too.
> That's the simplest solution and we'll have two fewer topics we need
> to worry about when we are done.

Thanks, Taylor

Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 6 in “What's cooking in git.git (Apr 2020, #03; Tue, 28)”
  1. Junio C HamanoApr 28, 2020
  2. Taylor BlauApr 29, 2020
  3. Junio C HamanoApr 29, 2020
  4. Taylor BlauApr 29, 2020
  5. Junio C HamanoApr 29, 2020
  6. Taylor BlauApr 29, 2020

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.