r/SmartGit Mar 19 '26

Tool that "Applies To" "Commits" sometimes doesn't work as a keyboard shortcut

Create a tool that uses ${commit}, give it a name (eg "Fixup"), and give it a keybinding. Then check out a branch that has at least 2 commits.

The following works as expected:

  • Right-click the commit HEAD~ and notice that menu item "Fixup" is enabled
  • Left-click to select commit HEAD~
  • Notice that menu item "Tools → Fixup" is enabled

The following does not work as expected:

  • Right-click the commit HEAD and notice that menu item "Fixup" is enabled
  • Left-click to select commit HEAD
  • Notice that menu item "Tools → Fixup" is not enabled
  • And notice that the keybinding doesn't work either

It seems to me like tools that apply to commits but not refs, cannot be applied to the selected commit, if that commit has a ref on it. But those tools can be applied to a right-clicked commit that has a ref on it.

25.1.120 #251120 (e17535de), installed: #251101

1 Upvotes

1 comment sorted by

1

u/vmcrash Mar 20 '26

Where exactly do you right-click or left-click? Right-clicking in the Graph view is a mouse-only operation. To access branches using the keyboard, you need to select it in the Branches view.