git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Jeff KingNext: Junio C Hamano
Message 14 of 15 in “Can we do better than "git checkout/add -p"”
  1. Junio C HamanoAug 7, 2026
  2. Christian CouderAug 7, 2026
  3. D. Ben KnobleAug 7, 2026
  4. Junio C HamanoAug 7, 2026
  5. D. Ben KnobleAug 7, 2026
  6. Junio C HamanoAug 7, 2026
  7. Patrick SteinhardtAug 10, 2026
  8. Stefan HallerAug 10, 2026
  9. Patrick SteinhardtAug 10, 2026
  10. Junio C HamanoAug 10, 2026
  11. Patrick SteinhardtAug 11, 2026
  12. Johannes SchindelinAug 12, 2026
  13. Jeff KingAug 12, 2026
  14. Junio C HamanoAug 12, 2026
  15. Junio C HamanoAug 12, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.