Repository navigation
fix: scope breaking-change hints to the selected comparison - #9
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A staged README-only change was marked as potentially breaking when an unrelated historical commit contained
!:. Explicit comparisons also read HEAD's most recent 25 subjects, which could include unrelated commits or omit relevant subjects from another branch or a longer range.Read commit subjects only from the selected
--commits,--rangeor--basecomparison, without truncating that selection to 25 commits. Working-tree and staged-only summaries use no historical subjects. This also keeps suggested titles aligned with the selected changes. Public API path hints remain available in every mode.Add eight regression cases covering historical-marker contamination, selected branch/endpoints and a 27-commit comparison. Restore the English quick-start content lost during earlier conflict resolution, document the merged color/save options in both languages, and regenerate the synthetic CLI demo.
Validation: 32 tests passed; all eight new cases fail against the previous implementation. Actual CLI probes confirm color overrides, Markdown file output, and the corrected staged-only result. Publication checks and
git diff --checkpassed.Follow-up to #8.