Skip to content

chore(git-commit-signing): add version warning in README #377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 27, 2024

Conversation

phorcys420
Copy link
Member

Git versions prior to 2.34 do not support commit signing via an SSH key.

I was willing to add a check in the script, but Git does not return the version as-is (sometimes also returns the commit hash) and we would need to compare versions, I think this would add unnecessary dependencies, what do you think @matifali?

coder@catfood> git -v
git version 2.47.0

@phorcys420 phorcys420 requested a review from matifali December 26, 2024 20:39
Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is enough to add to docs. Thanks for taking care of these details.

@phorcys420 phorcys420 merged commit e94f70a into main Dec 27, 2024
2 checks passed
@phorcys420 phorcys420 deleted the phorcys/git-commit-signing-warning branch December 27, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants