spiegel-keyman/resources/git-hooks
Eberhard Beilharz 44116b70dd
chore(common): detect ssh remotes in git hooks
Sometime ago we lost the ability to detect git remotes that use ssh
(git@github.com:keymanapp/keyman.git) and we only detect remotes that
use https (https://github.com/keymanapp/keyman.git). This change restores
this ability.

Also add some empty lines between the different parts of the error message.

# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-09-17 11:38:41 +02:00
..
commit-msg chore(common): detect ssh remotes in git hooks 2024-09-17 11:38:41 +02:00
pre-commit chore(common): detect ssh remotes in git hooks 2024-09-17 11:38:41 +02:00
prepare-commit-msg chore: add cherry-pick information in commit messages 2024-06-06 08:56:42 +07:00