Skip to content

Add --no-branch-ref-detection to release sync - #144

Merged
axelniklasson merged 2 commits into
mainfrom
axelniklasson/assess-lin-85285
Sep 15, 2026
Merged

axelniklasson merged 2 commits into
mainfrom
axelniklasson/assess-lin-85285

Conversation

@axelniklasson

@axelniklasson axelniklasson commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Adds sync --no-branch-ref-detection so an unrelated empty branch pointing at a shipped commit cannot supply an issue key when the flag is enabled.
Commit-message issue keys, source branches recorded in merge messages, PR/MR references, and custom issue patterns remain available; default behavior is unchanged.
Documents the tradeoff that opting out also disables legitimate branch-only fast-forward attribution, with regression coverage for tip, interior, single-commit, merge-message, and revert-ref cases.
Validated with all 453 tests, formatting, lint, typecheck, build, and CLI help output.

Towards #142

@linear-code

linear-code Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

LIN-85285

@axelniklasson
axelniklasson force-pushed the axelniklasson/assess-lin-85285 branch from aca73a2 to d4ca4c5 Compare September 15, 2026 07:52
@axelniklasson
axelniklasson merged commit cbffff8 into main Sep 15, 2026
11 checks passed
@axelniklasson
axelniklasson deleted the axelniklasson/assess-lin-85285 branch September 15, 2026 07:55
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