emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is there a diff-unite-hunks or similar?


From: Uwe Brauer
Subject: Re: is there a diff-unite-hunks or similar?
Date: Mon, 16 Jun 2025 19:55:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

>>> "SW" == Sean Whitton <spwhitton@spwhitton.name> writes:

> Hello,
> On Sun 15 Jun 2025 at 12:02pm +02, Uwe Brauer wrote:

>> But the inverse functionality to unify two subsequent hunks.
>> 
>> Anybody knows about such a function, or is it planned?

> We don't have a function to do this.  If someone can figure out how to
> implement it in a semantics-preserving way, it would be a good addition.


Good and bad news. Good I played around with it (looking at diff-split-hunk) 
and it seems that I unified one hunk with the next one.

But when I tried to commit the whole thing I always obtained HUNK rejected or 
something like this.

So I presume this is really hairy and somebody who understands the code much 
better should give it a try, if he/she feels like it.


-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]