Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow diff view to display images? #444
When working on a project with a lot of image assets and preparing a commit, I find myself leaving the git-cola UI and switching windows back and forth often to see which images I should stage.
I think it would be great if I could simply preview the image within git-cola itself. I wouldn't mind providing this via a pull request if anyone else thinks this would be useful.
This would be supercool. The diff viewer already has a little header menu, so we could add a little eye icon to the header that's only active when an image file supported by Qt is selected.
Enabling the eye toggle would put cola into the image diff mode.
That mode could have a few different layouts for how it shows the image.
Super fancy would be a mode that rendered them in a single view with a slider to wipe or blend between the images.
Zoom controls would be helpful too, with the same mousewheel interaction we have in