News for hackers. Stuff that matters.
Re:A work-in-progress Magit clone for Neovim by NateEag on Thursday July 08, 2021 @08:18AM (#27770965)
`git add -p` is nice, but Magit's UI is superior, IMO.

I don't know a way to stage individual lines from a given hunk separately in Git's interactive add, but in Magit's that's easy - just select the line you want and press s.

I've even occasionally staged part of a line via selection, when I've actually had two distinct bugfixes on the same line.

Re:A work-in-progress Magit clone for Neovim by scooble on Thursday July 08, 2021 @10:14AM (#27772202)
Iirc you can edit the patch in git add -p. So fine editing is possible.