Open rlipscombe opened 1 year ago
This is something I've wanted for a while (e.g. a unified view of a commit/patch). If something like this was part of the Commit Details view, it could also be used for uncommitted changes (and ideally allow for partial staging)
Some more context on my motivation for this:
I regularly just do haphazard commits as I'm working. Then I go back and do an interactive rebase to split/merge/squash/fixup the commits into some kind of sensible "story", which makes it easier to review the changes in a PR.
By being able to quickly skip up and down the commit history and see the diffs, I can figure out which commits go together, which ones are too big or too unfocussed (i.e. need splitting), and so on. Opening up a gajillion L/R diff tabs doesn't work for this way of working.
I also heavily depend on this functionality, during my Git workflows.
On macOS I was using GitX, and Gittyup on Ubuntu. Unfortunately the latter is starting to crash often or freeze for half a minute when I simply click around the graph.
GitLens is a great integration, I'd be happy to eventually throw away other external Git tools; but being able to preview-diffs & explore-files of the commit clicked in the graph is something that I find difficult working without. And unfortunately my brain needs to visualize the graph in a GUI 😅
I'm using GitLens in VS Code and I'm missing a feature from gitk: clicking on a commit in the commit graph quickly shows the diff against the previous commit.
Does GitLens do this? Am I missing something?
I found the "Files Changed" thing in the sidebar, which opens the L/R diff in the main editor.
I don't want that.
I want to quickly browse up and down the commit graph and have the unified diff for that commit displayed next to it, like in gitk.
(from https://hachyderm.io/@rogerlipscombe/109541887757441903)