You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
End a Merge's Words at a Comment in the Write Guard's Run-Time Check #3076
Found by the local review of the lane closing #3006. It was confirmed with a classify probe on a constructed command.
A Comment's Run-Time Word Is Read as a Merge Word
_gh_merge_run_time_word reads every word to the end of the merge's command, a trailing comment's words included, so gh pr merge 5 --squash # $X is denied on $X. The shell drops the comment, so the word never reaches gh. It is a false deny, never a false allow.
Possible Direction
End the merge's words at an unquoted # that opens a word. The push check denies a comment for a reason particular to a push, a dropped refspec, which does not apply to gh.
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.
Activity
Read Abbreviated, Clustered, and Negated Options in the Write Guard (#…
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.