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

Re: git add intent-to-add then git add patch no longer allows edit

From
Raymond E. Pasco <ray@ameretat.dev>
Date
Aug 24, 2020, 21:03 UTC
Message-ID
<C55J4YTSBL48.171K3FSJLUQOA@ziyou.local>
In-Reply-To
<fe21c773-341c-d029-077c-00daeb6014f7@gmail.com>
On Mon Aug 24, 2020 at 1:28 PM EDT, Phillip Wood wrote:
Show 8 quoted lines
> The patch I was referring to is 2c8bd8471a ("checkout -p: handle new
> files correctly", 2020-05-27)
>
> I tested seen at 3981657b13 ("Merge branch 'rp/apply-cached-doc' into
> seen", 2020-08-21). I was using the C version of 'add -p' which is
> opt-in at the moment by setting add.interactive.usebuiltin=true in your
> config (or with git -c). I hope that helps, I'm going off line now for
> 10-14 days

Indeed, this works and restores my workflow (although it errors out if I don't manually edit the range information, which isn't necessary with diffs to existing files). It's a bit unsatisfying as it stands, but perhaps there are patches I can write.

No need to reply, enjoy your vacation!
Previous: Phillip WoodNext: Phillip Wood
Message 7 of 16 in “git add intent-to-add then git add patch no longer allows edit”
  1. Thomas SullivanAug 21, 2020
  2. Raymond E. PascoAug 21, 2020
  3. Junio C HamanoAug 21, 2020
  4. Phillip WoodAug 23, 2020
  5. Raymond E. PascoAug 24, 2020
  6. Phillip WoodAug 24, 2020
  7. Raymond E. PascoAug 24, 2020
  8. Phillip WoodSep 4, 2020
  9. Johannes SchindelinSep 4, 2020
  10. Junio C HamanoSep 6, 2020
  11. Phillip WoodSep 7, 2020
  12. Junio C HamanoSep 8, 2020
  13. Johannes SchindelinSep 8, 2020
  14. Junio C HamanoSep 8, 2020
  15. Phillip WoodSep 9, 2020
  16. Raymond E. PascoSep 5, 2020

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.