git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: Taylor Blau <me@ttaylorr.com>
Cc: Patrick Steinhardt <ps@pks.im>, git@vger.kernel.org
Subject: Re: ps/receive-use-only-advertised
Date: Tue, 15 Nov 2022 12:28:12 -0500	[thread overview]
Message-ID: <Y3PMLFuvR6hlIzbq@coredump.intra.peff.net> (raw)
In-Reply-To: <Y3M2Fq7pZk4lNY9G@nand.local>

On Tue, Nov 15, 2022 at 01:47:50AM -0500, Taylor Blau wrote:

> > >  "git receive-pack" used to use all the local refs as the boundary
> > >  for checking connectivity of the data "git push" sent, but now it
> > >  uses only the refs that it advertised to the pusher.  In a
> > >  repository with the .hideRefs configuration, this reduces the
> > >  resource needed to perform the check, and also forces the pusher to
> > >  prove they have all objects that are necessary to complete the
> > >  history on top of only the history available to them.
> >
> > We have at a later point established that this is not true: the pusher
> > does not have to prove they have all objects. As the `--not --all` part
> > in git-rev-list(1) is merely an optimization the semantics aren't
> > changed at all
> 
> Thanks; this is Junio's description from when he picked up the topic
> back in WC #08 from October. I'll need to update before graduating it
> down.

Yeah, I think you can probably just remove everything from "and also
forces..." on.

> > I think this is stale, right? There was no further feedback until now,
> > and in your [1] you say that things look good to you, but that you
> > intend to wait a few days for further feedback.
> >
> > Thanks!
> 
> Yes, that is indeed stale, thanks for catching. I'm just waiting for a
> review from somebody that isn't you or me ;-).

I just left a review. It looks good to me to hit 'next'.

-Peff

  reply	other threads:[~2022-11-15 17:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-15  4:50 What's cooking in git.git (Nov 2022, #03; Mon, 14) Taylor Blau
2022-11-15  4:59 ` Eric Sunshine
2022-11-15  5:01   ` Taylor Blau
2022-11-15  6:28 ` ps/receive-use-only-advertised Patrick Steinhardt
2022-11-15  6:47   ` ps/receive-use-only-advertised Taylor Blau
2022-11-15 17:28     ` Jeff King [this message]
2022-11-16  2:02       ` ps/receive-use-only-advertised Taylor Blau
2022-11-18 23:27       ` ps/receive-use-only-advertised Junio C Hamano
2022-11-15  8:06 ` rp/maintenance-qol with 'make DEVELOPER=1' (was: What's cooking in git.git (Nov 2022, #03; Mon, 14)) Ævar Arnfjörð Bjarmason
2022-11-15 14:04 ` ms/sendemail-validate-headers, was Re: What's cooking in git.git (Nov 2022, #03; Mon, 14) Johannes Schindelin
2022-11-16  1:20   ` Taylor Blau
2022-11-16 11:48     ` Strawbridge, Michael
2022-11-18 13:24       ` Johannes Schindelin
2022-11-15 20:58 ` Eric Sunshine
2022-11-16  2:04   ` Taylor Blau
2022-11-16  6:07 ` Elijah Newren
2022-11-16 20:16   ` Taylor Blau

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y3PMLFuvR6hlIzbq@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=me@ttaylorr.com \
    --cc=ps@pks.im \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).