On 28/01/2010 16:55, Reinier Lamers wrote:
Hi,
2010/1/28 Simon Marlow<[email protected]>:
There's an equivalent mode
for git, called gitsum, and the gitsum mode supports hunk splitting. You
just position your cursor on the line you want to split, and hit a key (I
forget which), and then you have two hunks that can be individually
selected/reverted.
How does this work for a hunk that both removes and adds lines of
text? Do you have to split the deleted lines and the added lines
separately?
No - the diff is displayed in unified-diff style, and you can split a
hunk anywhere you like. It uses emacs' diff-mode underneath, where C-c
C-s is diff-split-hunk (you can try it on an ordinary patch file). It's
a nice UI actually.
Cheers,
Simon
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users