SVN Time-Lapse View is a cross-platform viewer that downloads all revisions of a file and lets you scroll through them by dragging a slider. As you scroll, you are shown a visual diff of the current revision and the previous revision. Thus you can see how a file evolved, and you can easily find the revision at which lines appeared, disappeared, or changed.
http://code.google.com/p/svn-time-lapse-view/
From the command line, I suggest one way:
git whatchanged -p pathToACertainFile
Which will show all the full diffs that have occurred to that file, and which sha hash they were done at (from latest to earliest). Best if you have your terminal set up to show stuff colorized.
You may want to spend some time exploring git log
command and gitk
(gitk
works with many of the same options as git log
).
It's not quite a slider, but the Git bundle for TextMate lets you browse revisions for a single file via a dropdown menu. It highlights changes for the current revision, and also names the person who last edited a line, svn blame
-style. There are also keyboard shortcuts for navigation to previous/next revisions.
http://blog.macromates.com/2008/git-bundle/
Update 2014-05-10: Now available on GitHub: https://github.com/textmate/git.tmbundle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With