Add keyboard shortcut for compare
Follow-up for: !132273 (comment 1570576790)
Add a keyboard shortcut shift+c
to access the compare button on the tree view.
Verification steps
- Go to a tree view other than master. e.g. https://gitlab.com/gitlab-org/gitlab/-/tree/429534-update-remediation-badge/.lefthook/pre-push?ref_type=heads
- Press the keyboard shortcut
shift + c
- You should be redirected to the compare view for the branch you had open.
Edited by Sam Figueroa