[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diff-mode misinterprets empty lines.
From: |
Dan Nicolaescu |
Subject: |
Re: diff-mode misinterprets empty lines. |
Date: |
Mon, 14 Jan 2008 16:09:14 -0800 |
Glenn Morris <address@hidden> writes:
> Glenn Morris wrote:
>
> > Would it suffice to back up over empty lines at the end of a unified
> > diff? Ie treat empty-lines as part of a hunk unless they are at the
> > very end of the diff?
>
> Sigh, that won't work in the CVS trunk, where the end of vc-diff
> output looks like:
>
> <last line of diff hunk>
> <empty line>
> <empty line>
> Diffs between working revision and workfile end here.
>
> I don't personally like that last line anyway...
I would vote to take out that line and the extra empty lines.
They are annoying when you want to save the diff to a file and archive
it, or mail it to someone else, etc.