Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > When you select the context menu item "Split Hunk" in the diff area, > git-gui will now split the current hunk so that a new hunk starts at > the current position. > > For this to work, apply has to be called with --unidiff-zero, since > the new hunks can start or stop with a "-" or "+" line. Unless one splits right at the beginning or end of an existing hunk, wouldn't there be context which one could use? Or does it confuse patch when adjacent hunks have overlapping contexts? At least if the first hunk patches what is to be used as context in the second hunk, I could imagine this. And there is really no danger of losing synch in this situation, anyhow. So it would be more of a convenience thing than anything else to be able to omit --unidiff-zero. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html