You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Right-click on commit not selected - actions perform on selected commit instead #406
I have right-clicked (i.e. Control-click) the commit "Crop images" and the menu appears on this commit. Visually, it really looks like the menu is for this commit (with the blue border). And that's what I expect every time I use the menu.
But I'm so frustrated that the actions actually perform on the selected commit "Github CI" (shaded blue). I mean, visually it makes no sense at all.
For example, "Copy Short SHA" will copy 2c5478c instead of the expected 5ab20a3. This can be pretty dangerous when pasting these SHA into Terminal, as I often end up acting on the wrong commit (for example cherry-picking it, reverting it or rebasing onto it).
I suggest doing a fix to alter the behavior, to target the right-clicked commit instead of the selected one.
Activity
SwissalpS commentedon Aug 1, 2023
I agree, select on rightclick then show contextmenu but only if target is not already selected. (don't deselect single or multiple selections)
Align commit context actions with their clicked row
Verify branch refresh and commit context targeting in the app
Ratchet coverage after history and diff regressions
Preserve final batch coverage gain
Merge pull request #621 from anandghegde/fix-copy-clicked-commit
hannesa2 commentedon Sep 13, 2026
Additional it shows the 10 character of commit message, to avoid confusion #625
previous:
new:
hannesa2 commentedon Sep 14, 2026
You'll find it here https://github.com/gitx/gitx/releases/tag/1.5.8
Copy the right-clicked commit, not the selection (issue gitx#406)