Subject: Re: bug#73407: 31.0.50; Add diff-discard-hunk

From: Óscar Fuentes <[email-masked]>
Date: Tue, 24 Sep 2024 16:33:06 +0200

Dmitry Gutov <[email-masked]> writes:

> On 24/09/2024 15:21, Eli Zaretskii wrote:
>
>> We should come up with a better name for this command.
>> diff-discard-hunk tells me the command will discard the hunk, but says
>> nothing about applying it, let alone reverse-applying it.  How about
>> diff-revert-hunk, or maybe diff-revert-and-discard?
>
> diff-revert-and-kill, maybe.

If this command works on hunks, please say it on the name:

diff-revert-and-kill-hunk

It makes the intent clear and greatly helps discoverability when using
certain tools that navigate the command names.