Re: Can we do better than "git checkout/add -p"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 12, 2026, 22:35 UTC
- Message-ID
- <xmqqo6f7ufv8.fsf@gitster.g>
- In-Reply-To
- <20260812214403.GD152730@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> 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.