From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b1-smtp.messagingengine.com (fout-b1-smtp.messagingengine.com [202.12.124.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 E595B412C15 for ; Wed, 12 Aug 2026 22:35:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.144 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786574128; cv=none; b=aJ1VT19DvIXsm9WZCiZ0unXpBm/eAFSa5wtxa8kn9VuNcHk3Hth8op4gQFlOzjt6aYxsmMT77k/zfdcMy+nDTKgY4FSMTlj5b6bvGCHRK6wJPlKikUwtFWAndgDLKt6HdoUuALLXnYGydHBHdPG3D1npby9rUrecstNQR2YLjDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786574128; c=relaxed/simple; bh=PAPlruMP9aDYhFVpFLtPjKZ/PwmM3/Qr2EFMdu0Z290=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ZVWDXlBBvgtiM7Q2QhlJIrPBbI+L1B4bAA3RLh+OBPp2bnR3Mb1VDHt961gwKHGpP2I6LloDDnCAF3RvtolShrigZYjBMbde2NLaJwWuNrKNs70LFQxUsWtq0WmqaeB6Aauw4VDvgaDk6cmfM8LFiGIhk7mqofDJWVuspZwW+g8= 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=cbGVpZtV; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Iz5miEPL; arc=none smtp.client-ip=202.12.124.144 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="cbGVpZtV"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Iz5miEPL" Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 35F9A1D001A8; Wed, 12 Aug 2026 18:35:25 -0400 (EDT) Received: from phl-frontend-02 ([10.202.2.161]) by phl-compute-01.internal (MEProxy); Wed, 12 Aug 2026 18:35:25 -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=fm2; t=1786574125; x=1786660525; bh=MSSNnN0IVR mQCIDM9qYdVAQ4OOGPFpIZ8iN2kbZV8SQ=; b=cbGVpZtVEwC4Jq2sDUQFpOphD3 GMA+LOxdhQxpjuThskyKm3Dwqt9fP+UC2fr7TH6g8XmbFu9yLld4haBylWPXrAxh yMWMXdflmFKyZLkCDGyphOHMnV3MgNJ3VNz03MiYl/pWV+Zkpuzric2Q9+CPOlUn FVcntCp5M5fzb/sRoixQVXkuqocC4PtpHepIN6pEnz9Yy+dNTDivG09h97ecvim8 OYiaVF8g2VX7izk9/7/ZZr3jnYU7u1oEZw/7ygv2z7f9123wztPoEp3+yXzr3Kzl 5jTlit8zkJ4WkZXq0AW3ENLLhPIWygY9JGN1x38aSCjC1UwLMCatq12vXG5Q== 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=fm3; t= 1786574125; x=1786660525; bh=MSSNnN0IVRmQCI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yHxPhivYWwZo7fq49U/Au2UL95O+lZKX+T3vAlhT/O3lYHlG11eR5hQ X-ME-Proxy: Feedback-ID: if26b431b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Aug 2026 18:35:24 -0400 (EDT) From: Junio C Hamano To: Jeff King Cc: Johannes Schindelin , git@vger.kernel.org Subject: Re: Can we do better than "git checkout/add -p" In-Reply-To: <20260812214403.GD152730@coredump.intra.peff.net> (Jeff King's message of "Wed, 12 Aug 2026 17:44:03 -0400") References: <21db84ba-3894-23e9-9f17-ceeafb1990c2@gmx.de> <20260812214403.GD152730@coredump.intra.peff.net> Date: Wed, 12 Aug 2026 15:35:23 -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 Jeff King writes: > I see I am quoted in one of them as "it's a little weird for add -p to > change the working tree", but I want to make clear that I _don't_ oppose > a feature like this. I think it would be super useful. We may find a way > to avoid that "weird" property (e.g., by putting the "combined" > stash/add mode under a different command's "-p"), or we may just accept > it. I guess our messages crossed ;-) I do agree that it would be very nice to have a feature like this.