Re: How to remove a specific hunk
From: Florian Weimer <hidden>
Date: 2016-06-15 22:43:45
* Johannes Schindelin:
You have seen that there are two different file lists, "staged changes" and "unstaged changes", right? AFAIK if you click on the file in "staged changes", you can find the staged hunk and then remove it from the staged area. "Revert hunk" would not make any sense, since the hunk disappears once you staged/unstaged it.
I think Benoit wants to remove it from the working copy (and, presumably, the index too). "Revert hunk" and "Move hunk to stash" might indeed be useful additions to citool. -- Florian Weimer [off-list ref] BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99