GitCommitMsg icon indicating copy to clipboard operation
GitCommitMsg copied to clipboard

Step further: show diffs too

Open maxim opened this issue 10 years ago • 1 comments

Sometimes I need to go a step further and not just see the history for a certain line, but also the diff of a commit in that history, to get more context around why the line was changed. Not sure what would work best, but I have an idea that might really make this work seamlessly: Basically, when inside the GitCommitMsg syntax, and a sha1 is selected, pressing the main shortcut again (e.g. cmd+shift+m) opens another tab with expanded view of that commit, with diff. I think this could really be an awesome logical next step. Thoughts?

maxim avatar Mar 17 '14 08:03 maxim

Change line 21 (which is: cmd = "git show --name-status " \) to cmd = "git show -p " \.

mustafa0x avatar Apr 27 '14 15:04 mustafa0x