Disable Copy Permalink context menu item when not in git repo (#23350)
Swiftaff
and
Marshall Bowers
created
Closes #13979
Please review this approach to hide the permalink, or alternatively to
disable it instead?
Release Notes:
- The Copy Permalink menu item is now disabled when not in a Git
repository.
---------
Co-authored-by: Marshall Bowers <git@maxdeviant.com>