From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>, git@vger.kernel.org
Subject: Re: Can we do better than "git checkout/add -p"
Date: Wed, 12 Aug 2026 15:35:23 -0700 [thread overview]
Message-ID: <xmqqo6f7ufv8.fsf@gitster.g> (raw)
In-Reply-To: <20260812214403.GD152730@coredump.intra.peff.net> (Jeff King's message of "Wed, 12 Aug 2026 17:44:03 -0400")
Jeff King <peff@peff.net> 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.
next prev parent reply other threads:[~2026-08-12 22:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-07 4:02 Can we do better than "git checkout/add -p" Junio C Hamano
2026-08-07 7:38 ` Christian Couder
2026-08-07 11:24 ` D. Ben Knoble
2026-08-07 15:50 ` Junio C Hamano
2026-08-07 20:12 ` D. Ben Knoble
2026-08-07 20:26 ` Junio C Hamano
2026-08-10 6:03 ` Patrick Steinhardt
2026-08-10 7:26 ` Stefan Haller
2026-08-10 8:45 ` Patrick Steinhardt
2026-08-10 15:23 ` Junio C Hamano
2026-08-11 5:06 ` Patrick Steinhardt
2026-08-12 8:40 ` Johannes Schindelin
2026-08-12 21:44 ` Jeff King
2026-08-12 22:35 ` Junio C Hamano [this message]
2026-08-12 22:31 ` Junio C Hamano
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqo6f7ufv8.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox