[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files
From: |
Stefan Monnier |
Subject: |
[Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files |
Date: |
18 Aug 2004 13:10:23 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> fai revisions --modified FILE:LINE can tell you which revisions added the
> current contents of LINE to FILE. For lines with unique content, this is
> the same as "the last revision that modified this line".
I didn't think of relying on the "mostly-unique-ness" of lines, but it's
a good idea.
> Exact matching seems possible, but requires more sophisticated diff parsing.
> One must recalculate the line numbers every time lines are added or removed
> above the lines in question.
That's what I was thinking of. I think both approaches have their
advantages (e.g. yours has the advantage of easily handling the case where
a diff just moves a function from one place to another in the same file).
Stefan
- [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, (continued)
- Re: [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Aaron Bentley, 2004/08/18
- Re: [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Tom Lord, 2004/08/18
- Re: [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Aaron Bentley, 2004/08/25
- Re: [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Tom Lord, 2004/08/26
- Re: [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Tom Lord, 2004/08/26
- Re: [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Aaron Bentley, 2004/08/26
- [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Stefan Monnier, 2004/08/18
- Re: [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Aaron Bentley, 2004/08/18
- [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files,
Stefan Monnier <=
- Re: [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Jason McCarty, 2004/08/18
- [Gnu-arch-users] Re: Inconsistency of Added-files and Removed-files, Stefan Monnier, 2004/08/18