[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; diff-apply-hunk new line at end of file
From: |
Miles Bader |
Subject: |
Re: 23.0.60; diff-apply-hunk new line at end of file |
Date: |
Fri, 25 Apr 2008 08:42:58 +0900 |
Markus Triska <address@hidden> writes:
> and do C-c C-a on the first and only hunk of t.patch, the patch is
> applied. When I then do C-c C-a, another new line is unexpectedly
> inserted at the end of t.txt. Arbitrarily many, if repeated.
That's because there isn't enough context in the hunk. It's a general
problem with the patch format.
-Miles
--
"I distrust a research person who is always obviously busy on a task."
--Robert Frosch, VP, GM Research