From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) (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 92A8B402B9E for ; Fri, 11 Sep 2026 18:52:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789152766; cv=none; b=socPk15v6VOzKc+LMZgMX985ReWcp2JynkHY8HN8mO1SOoXp5EdIv8OZHA9N2htoSxOIbpSN/R3Yt+q/+M5bzXqQsYPnCf7U+ePEUo8hgjd+mNDFxlsAJMyT5XliCqz/RJDS273zsdBTiz2QkxTipYS2ZNHazVSRHcoGIjDj5Kw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789152766; c=relaxed/simple; bh=KZsft9DdjQHj8zdHHQzLMTtSSiLMFm72/ESaQpDPdAQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=W8UBFEFZ9tLF62cRJ2DyVT34hM9xObRfrnH6Gg3tgTxMLIsh00WjAV720OhYLPJKKRSIISbTx6zFe1jChTQD9QWz/N9FKauS2IX2EJr0iSCPRKWj7I2Cc4lXC5lwv0klydfNEqU+e27Y5xc+WJ4HRNZm/qULTj75/jOiQy7UNXM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b=p9nPvDSR; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=K6l/F/SZ; arc=none smtp.client-ip=202.12.124.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b="p9nPvDSR"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="K6l/F/SZ" Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id 323897A00D4; Fri, 11 Sep 2026 14:52:42 -0400 (EDT) Received: from phl-frontend-02 ([10.202.2.161]) by phl-compute-03.internal (MEProxy); Fri, 11 Sep 2026 14:52:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; 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=fm3; t=1789152762; x=1789239162; bh=CFcYbSXTpj /MvMoAH8x1lEWl90gGp36K0SO3neqrIdk=; b=p9nPvDSR9KqO7ijfVkCGDgEelI kjhOgq/z909neepqmkhJy745pxBk+yDBC/E/i2Tn/4UFaV0hoxPuW4YOW6Y4p8m3 eI3x0SaqXr/nUtb0wGfxllzhUA5zQ9DvpDDWl5ftWGfx/N0hRggjunZVzBafICZb iWoIGILuKDjHPCBNvqgftp4Gs8hODHhCPQCDaofaE77sj5P5z0YDr9VYy3sxJ2Xr 4cqiun2sLefFFi4x4wqwfR/pqLgtV4XEbGvYBGTGgm8wcyCShcjEiKWvoBzjM4sM RyLc0Z+PtUatEdEB88sX5I8EBs5CrpWsz6UGLYfry/9p7gOT9h3kOUHbsgIQ== 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= 1789152762; x=1789239162; bh=CFcYbSXTpj/M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O89T29DYQHhadvpF1t3K1R0BZWswOtusHLZ6/g X-ME-Proxy: Feedback-ID: if26b431b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 11 Sep 2026 14:52:41 -0400 (EDT) From: Junio C Hamano To: Harald Nordgren Cc: Harald Nordgren via GitGitGadget , git@vger.kernel.org Subject: Re: [PATCH] range-diff: add --matched-only to skip one-sided commits In-Reply-To: (Harald Nordgren's message of "Fri, 11 Sep 2026 20:48:45 +0200") References: Date: Fri, 11 Sep 2026 11:52:40 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Harald Nordgren writes: >> I wonder if the implementation actually can be more like >> >> - give "--hide-left-only" and "--hide-right-only" as synonyms to >> "--right-only" and "--left-only", and deprecate the original; >> >> - allow them to be given together, which will give the new >> behaviour you are introducing, i.e., skip steps without both >> sides from the output; >> >> - give a short-hand synonym, "--matched-only", to truly behave the >> same as giving "--hide-{left,right}-only" together. > > Seems like a big change, and deprecated options are a pain in the neck > because we can never actually remove them. > > If we decide to go this way, we might name them "--hide-{left,right}" > and just not introduce a condition that makes them incompatible. Then > "--matched-only" would be pure syntactic sugar and wouldn't even be > 100% necessary to have to achieve this. Or we can just keep the code and fix the documentation. I think that would be much less impact.