git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature request - optionally include merge conflicts in `git add -p`
@ 2025-05-27 23:54 Jarrad Whitaker
  2025-05-28  0:56 ` Chris Torek
  0 siblings, 1 reply; 3+ messages in thread
From: Jarrad Whitaker @ 2025-05-27 23:54 UTC (permalink / raw)
  To: git

Hey all,

A small feature request (and hopefully not a small "tell me I misread
the docs"!) -

When fixing up conflicts from a rebase / cherry-pick / etc, files with
conflicts are excluded from `git add`. This is very sensible in almost
all cases.

However, would it make sense to make a special case for `git add -p` /
`git add --patch` / patch mode of `git add --interactive`? There seems
no reason to exclude potentially unmerged files in mode, which goes
through changes chunk by chunk.

Excluding these files means I need to manually go copy paste the
filename into `git add` (the horror), and additionally I don't get the
great chunk-by-chunk feedback from patch mode above.

Cheers!
Jarrad

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-31  5:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-27 23:54 Feature request - optionally include merge conflicts in `git add -p` Jarrad Whitaker
2025-05-28  0:56 ` Chris Torek
2025-05-31  5:51   ` Jarrad Whitaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).