From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-a1-smtp.messagingengine.com (fout-a1-smtp.messagingengine.com [103.168.172.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFA7A3AE1A2 for ; Mon, 7 Sep 2026 07:23:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.144 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788765824; cv=none; b=PF8p5HoeZdgoLdtnFsEiJJ/R28ffIG5QNq8BXLJ/gDypNmEdgPTIoUrAkrCeJT81SUGz4v3PHd75wGnB336s8/5H1ZVLQXObprgfDqpQv4CMGNg2txpouXBRu7zquVUYqOa+03S37VU5POeB0mDjMt/iOkXMsRgJZdmJ0sTtsAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788765824; c=relaxed/simple; bh=9Gt0eye0Wbtz3xSGS7xTFH39uojwCoKHMMH2Znoiyro=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LaRQvvVK6XMmuT0vlzaecbDrM4EgClCg5qSapzY/htpq1+JG7NlUaJICzHbeKa1idkuAlxbGwabRmNxg8gDslWXfd7oT9inti5lcf5Cy3mxpE+WgS2Rd1C6mhle4WpcAkjvtebJ+HtNezkFYU/o6+1nedWF9IMVAMqJUNMKeoLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=yVPDHKNE; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=ASxnDOQ5; arc=none smtp.client-ip=103.168.172.144 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="yVPDHKNE"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ASxnDOQ5" Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id AC8F7EC0258; Mon, 7 Sep 2026 03:23:41 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Mon, 07 Sep 2026 03:23:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1788765821; x=1788852221; bh=lFw8Ji8ytD z/ig0z7Fk06J566rsZXhBOwuZFJXVARyg=; b=yVPDHKNEaGYhKhcchnIDyyLpcU AFuu+amnzCGIRH1vmNhphMRLMMTns+quKWB3IQ1jyf6d3AyVGqkL6sphW7LB/glt vagzNHHh/1gDTl9AEu1+gPG4hVMPc1Wub/8FW3PR3ywKSLnDg18TrE/XqtkPmgeF qLjylYcjg2lxT14iqSL7akJN7XE8MeOuf3fQbPJJ/g3Km5OPowYlI0HdzUTtxbRt To2+JDs9BTs1x9UTya/2zxO7m+tiL/PIK7khlXbnlgxg0tU5kTWrIhFJ0hsyKx55 sPY0b5k2OA/SPdO3sc1lsZIudRIYIT0299R1iRFTDNWkcFK3cC4l0SfN2buw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1788765821; x=1788852221; bh=lFw8Ji8ytDz/ig0z7F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hEsK0eH2JCQ2cEq+sg X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Sep 2026 03:23:40 -0400 (EDT) Received: by mail (OpenSMTPD) with ESMTPSA id 28d94226 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 7 Sep 2026 07:23:39 +0000 (UTC) Date: Mon, 7 Sep 2026 09:23:37 +0200 From: Patrick Steinhardt To: Justin Tobler Cc: git@vger.kernel.org, Toon Claes , Junio C Hamano Subject: Re: [PATCH v2 6/8] odb/source: support writing alternates when creating the database Message-ID: References: <20260831-pks-odb-write-alternates-at-creation-time-v2-0-aecd2382ba1c@pks.im> <20260831-pks-odb-write-alternates-at-creation-time-v2-6-aecd2382ba1c@pks.im> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sun, Sep 06, 2026 at 12:02:57PM -0500, Justin Tobler wrote: > On 26/08/31 12:02PM, Patrick Steinhardt wrote: > > +struct odb_create_on_disk_options { > > + /* > > + * Alternates that shall be written into the newly created object > > + * database. Whether or not this option can be handled is specific to > > + * the backend. > > + */ > > + const struct strvec *alternates; > > +}; > > So ODB interface here still exposes a way to signal alternates to the > backend, but an alternative backend may not actually use alternates at > all. Out of curiousity, does this mean git-clone(1) options such as > "--shared" should only be allowed to work with the "files" backend? Or > should the expected behavior of such options just be backend specific? The latter. It's totally feasible that an alternative backend may support alternates, but it's also feasible that it doesn't. Patrick