Feature Request: add interactive accept only remove or add changes
- From
- Florian 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, ...)