Let's say I have a file in git called filex.code , and I want to see the full code of the last x versions of this file with each sector selected, all in one place. So, x last history of fixing filex.code , almost the same as if I were executing an x written diff, but looking through historical versions, rather than merging from different branches.
The larger the x , the better. Crossplatform will be great, but any of the Big Three works. The ability to edit the latest version will also be great, but there are a lot of read-only visualizations.
Please note that this is different from a simple file commit history , so otherwise gitk path/to/file (or SourceTree or any git visual client you like) is great, not what I'm looking for. git log -p also close, and its output painfully includes all the information I would like, just to have it all in a linear, almost "procedural" output format, and not a good, relatively non-hierarchical, visual one like your favorite three-layer GUI'd mergetool.
( Edit: Another really cool option, which ultimately still suffers from flaws showing only every line of the last source and git blame linear output, but that's cool.)
So I'm definitely not looking for a diffftool setting , I don't think so. Instead of distinguishing between two known versions of a file, I want to visualize x iterations of historical changes in a single file.
To ask too much? Is it a WTFA (write a โfantasticโ application [yourself])?
Smaller alternative: is there a three-layer mergetool that I can fool to display the last three commits of a single file?