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

Feature Request: add interactive accept only remove or add changes

From
FSFlorian Steenbuck <florian.steenbuck@rexx-systems.de>
Date
May 19, 2022, 10:49 UTC
Message-ID
<06458e21-bdd3-904a-869f-88a26552d5bb@rexx-systems.de>
Hey,
can you guys add -at least- in the git add interactive mode
a feature to only accept add or remove changes
or is this too much patch tooling ?

Kind Regards Florian

Context

I'm today end up in editing about 99 hunks via add -p, which is for the confusion about `@@ +55,4 -52,2 @@` quite hard if I want to using the self checking behavior of the patch format

But not only that, what I would guess is now days not used anymore in patch tooling, it is also the count of hunks I would end up with understand and need to edit,

so if we exhausted this feature it would be a pleasure to add this not only to the interactive mode

This is about a README.md file so it is more an unexpected file for git, but I think this is useful with much longer files that are from my experience are also used in companies (translation files, historical grown source code, ...)

Message 1 of 1 in “Feature Request: add interactive accept only remove or add changes”
  1. Florian SteenbuckMay 19, 2022

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.