From: Derrick Stolee <stolee@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: ds/generation-numbers (was Re: What's cooking in git.git (Jun 2018, #01; Fri, 1))
Date: Fri, 1 Jun 2018 20:41:57 -0400 [thread overview]
Message-ID: <1c770f29-9e80-b54d-b9d6-2fc73a5ae62a@gmail.com> (raw)
In-Reply-To: <xmqqy3fy6qu8.fsf@gitster-ct.c.googlers.com>
On 6/1/2018 7:15 PM, Junio C Hamano wrote:
> Derrick Stolee <stolee@gmail.com> writes:
>>> A recently added "commit-graph" datafile has learned to store
>>> pre-computed generation numbers to speed up the decisions to stop
>>> history traversal.
>>>
>>> Will cook in 'next'.
>> On Wednesday, these were marked as "Will merge to 'master'" What changed?
> Nothing has changed. "Will merge to 'master'" means "This is now in
> 'next', and unless there is some blocking breakage found, this topic
> will be merged to 'master' eventually". It does not even say if
> that eventuality is before or after the release the current cycle is
> working towards.
>
> When it comes near pre-release feature freeze, things in 'next' need
> to be sifted into various bins, and their labels are updated. The
> ones that are too big to be comfortably merged to the upcoming
> release after -rc0 has passed (i.e. biggies are better merged early
> to the 'master' in the cycle to give it full cycle of larger
> exposure) will be kept in 'next' so that it can go first after the
> final, the ones that are low risk but with higher importance will be
> merged to 'master' before the release, the ones that are trivial,
> distracting and lower value (i.e. the ones that force i18n teams
> extra work) may be held in 'next', and the ones that deserve a
> chance to freshly restart are marked to be kicked back to 'pu'.
> Etc. etc.
Thanks, Junio. This explanation is what I expected. I suppose the small
extra bit of information of "Will cook in 'next' until after next
release" would have answered my question in advance. Thanks for the
patience as I get used to your workflow.
I am a little disappointed this didn't make 2.18 because this gives some
of the biggest speedups for typically painful computations (like 'git
branch --contains'). The generation numbers are what give us more than a
constant-multiple speedup; what is in master only parses commit
relationships faster, doesn't reduce the number of commits walked. It
also means we will release a version of Git that writes commit-graph
file with GENERATION_ZERO and so we will never be able to deprecate that
logic in the code.
Thanks,
-Stolee
next prev parent reply other threads:[~2018-06-02 0:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-01 7:21 What's cooking in git.git (Jun 2018, #01; Fri, 1) Junio C Hamano
2018-06-01 11:39 ` ds/generation-numbers (was Re: What's cooking in git.git (Jun 2018, #01; Fri, 1)) Derrick Stolee
2018-06-01 23:15 ` Junio C Hamano
2018-06-02 0:41 ` Derrick Stolee [this message]
2018-06-01 20:08 ` What's cooking in git.git (Jun 2018, #01; Fri, 1) Stefan Beller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1c770f29-9e80-b54d-b9d6-2fc73a5ae62a@gmail.com \
--to=stolee@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).