From: Johannes Schindelin Date: Thu, 13 Dec 2007 12:25:34 GMT Subject: Re: [PATCH] Teach git-gui to split hunks Message-ID: In-Reply-To: <4760E0CF.1030805@viscovery.net> Hi, On Thu, 13 Dec 2007, Johannes Sixt wrote: > Johannes Schindelin schrieb: > > 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. > > NACK! --unidiff-zero eats your data. Did I not make crystal clear that I intended this patch to be cleaned up first, to not need unidiff-zero? If so, my sincerest apologies. THIS PATCH IS NOT MEANT FOR APPLICATION, BUT FOR JASON TO PLAY WITH. Ciao, Dscho