From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Teng Long <dyroneteng@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: What's cooking in git.git (Dec 2021, #05; Thu, 23)
Date: Sun, 26 Dec 2021 18:15:53 +0100 [thread overview]
Message-ID: <211226.8635mfgu7o.gmgdl@evledraar.gmail.com> (raw)
In-Reply-To: <CADMgQSSwM3SMysB5=UkXOYLOTUTTN3kF2aaaQwHc+o7Q5qWDcA@mail.gmail.com>
On Sat, Dec 25 2021, Teng Long wrote:
> On Thu, 23 Dec 2021 15:42:33 -0800, Junio C Hamano wrote:
>
>
> > "git ls-tree" learns "--oid-only" option, similar to "--name-only".
> >
> > Will merge to 'next'?
> > source: <cover.1639721750.git.dyroneteng@gmail.com>
>
> Currently, the "source" is patch v6, and there are some test problems in
> [1]. They're not very hard to fix, but I'm considering whether to:
>
> WAY-1: continue on the current implementation path;
>
> WAY-2: Combine (steal :) the RFC patch from Ævar Arnfjörð Bjarmason
> and some commits of mine, to the next patch, because some arguments
> given from Ævar are compelling (of course the test problems will be
> fixed too).
>
> So, I will work on it, I think I will send a new patch based on WAY1
> quickly, and send a further RFC patch on WAY2. If both are ok, let the
> community decide which one to use.
>
> Thanks.
Yes there's the test problem I mentioned in [1], but in addition to that
your current set of patches have around a ~10% performance regression,
as noted in [2]. My RFC series[2] side-steps that by leaving the current
code in-place, and only introducing a new optional --format path for new
output formats.
I really don't mind if you go for "WAY-1" first over my RFC --format
"WAY-2", but I do think any such change should be prominently
noting/selling that this new feature is worth the performance
regression, or finding some alternate "WAY-1+" to avoid it.
1. https://lore.kernel.org/git/211217.86o85f8jey.gmgdl@evledraar.gmail.com/
2. https://lore.kernel.org/git/RFC-cover-0.7-00000000000-20211217T131635Z-avarab@gmail.com/
next prev parent reply other threads:[~2021-12-26 17:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-23 23:42 What's cooking in git.git (Dec 2021, #05; Thu, 23) Junio C Hamano
2021-12-24 17:29 ` ab/make-dependency (was "What's cooking in git.git (Dec 2021, #05; Thu, 23)) Ævar Arnfjörð Bjarmason
2021-12-26 18:51 ` Junio C Hamano
2021-12-25 1:55 ` What's cooking in git.git (Dec 2021, #05; Thu, 23) Junio C Hamano
2021-12-25 2:49 ` ds/sparse-checkout-requires-per-worktree-config (Was: Re: What's cooking in git.git (Dec 2021, #05; Thu, 23)) Elijah Newren
2021-12-25 22:20 ` ds/sparse-checkout-requires-per-worktree-config Junio C Hamano
2021-12-25 6:44 ` What's cooking in git.git (Dec 2021, #05; Thu, 23) Eric Sunshine
2021-12-25 12:07 ` Teng Long
2021-12-26 17:15 ` Ævar Arnfjörð Bjarmason [this message]
2021-12-27 7:09 ` Teng Long
2021-12-26 17:24 ` ab/only-single-progress-at-once (was: What's cooking in git.git (Dec 2021, #05; Thu, 23)) Ævar Arnfjörð Bjarmason
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=211226.8635mfgu7o.gmgdl@evledraar.gmail.com \
--to=avarab@gmail.com \
--cc=dyroneteng@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).