View Single Post
Old 06-30-2017, 02:12 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I looked into it and undoing a single change is more work than I am willing to put in, sorry. Basically, to make it work well one has to both robustly reverse the change at the location in the file and then either re-compute the entire diff or update the diff. The first is very slow for large diffs and the second is fairly involved to get right, because all the line numbers for subsequent changes will have changed.
kovidgoyal is online now   Reply With Quote