On Fri, 2 Jan 2009, Jeff Whiteside wrote:
-oldline
+newline
it's a 1-1 correspondence
if it's instead
-oldline1
-oldline2
+newline1
+newline2
what a neat idea. i'm going to start malloc'ing 10,000 lines x 120
chars for each file i add, and edit them so that no new lines replace
removed lines unless it's intended that they were the same line.
I don't understand your comment. that isn't nessasary to do the tracking
that I'm needing (you don't have to look at every line, only some of the
lines that are in the same hunk of the patch as the line(s) you are
interested in)
in my situation the use case is config files. in them each line is usually
edited independantly of other lines (with stuff being added, usually, but
not always on the end)
David Lang
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html