Skip to content

fix(commit-conventions): refine -S rationale per #28 review#29

Merged
CybotTM merged 1 commit into
mainfrom
fix/copilot-review-sweep-3
Apr 21, 2026
Merged

fix(commit-conventions): refine -S rationale per #28 review#29
CybotTM merged 1 commit into
mainfrom
fix/copilot-review-sweep-3

Conversation

@CybotTM

@CybotTM CybotTM commented Apr 21, 2026

Copy link
Copy Markdown
Member

Further Copilot review on #28 asked to distinguish two failure modes unambiguously. Applied.

Change

Rewrite the second half of 'Why explicit -S' so the two cases are explicit:

  • Without loaded config: git doesn't even attempt to sign. Commit records unsigned silently.
  • With -S: git always attempts. A missing signing agent or unreachable pinentry aborts noisily.

Also use 'records unsigned' (commit-time) instead of 'ships unsigned' (push-time).

Thread resolved after merge

PRRT_kwDOQoBsD858lNtu

Make the two failure modes unambiguous: (1) without loaded config, git
doesn't attempt to sign at all and records unsigned silently; (2) with
-S, git always attempts, so a missing/unreachable signing agent causes
a noisy abort. Prefer 'records unsigned' over 'ships unsigned' since
this happens at commit time, not push time.

Thread: PRRT_kwDOQoBsD858lNtu
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
Copilot AI review requested due to automatic review settings April 21, 2026 21:48
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@CybotTM CybotTM merged commit 73a3a81 into main Apr 21, 2026
11 checks passed
@CybotTM CybotTM deleted the fix/copilot-review-sweep-3 branch April 21, 2026 21:48
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Refines the documentation rationale for requiring explicit git commit -S so it clearly distinguishes between “config not loaded → git never attempts signing” vs “-S present → git attempts signing and fails loudly if signing can’t happen”, aligning with the review feedback from #28.

Changes:

  • Rewrites the “Why explicit -S” section to explicitly describe the two signing failure modes.
  • Updates wording from push-time framing (“ships unsigned”) to commit-time framing (“records unsigned”).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread skills/git-workflow/references/commit-conventions.md
CybotTM added a commit that referenced this pull request Apr 21, 2026
fix(commit-conventions): grammar fix per #29 review
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