Re: [PATCH v3 1/2] Allow git-apply to ignore the hunk headers (AKA recountdiff)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 6, 2008, 16:37 UTC
- Message-ID
- <alpine.DEB.1.00.0806061735550.1783@racer>
- In-Reply-To
- <7vr6bav8ww.fsf@gitster.siamese.dyndns.org>
Hi,
On Fri, 6 Jun 2008, Junio C Hamano wrote:
> Deleting the common context lines from the beginning, or adding a new > "+added line" at the very beginning of a hunk, is a user error for > somebody who edits the diff.
Unfortunately, that was exactly what I needed to do. Not in a theoretical sense, but a very practical one.
Only in hindsight do I realize that I could have increased the context, but that was not easily possible with the way I drive diff-files via run_command().
Oh well, another iteration.
Ciao, Dscho