atproto git client atgc.codes

fix(pr): refuse a pull into your own fork, say when HEAD is not in the pull, and warn that a timed-out write may have landed #1434

targeting main from claude/pr-hints
Open opened by and assigned to orbit-nodachi.test.pds.did.bot
targeting main from claude/pr-hints

After repo fork --clone, origin is the reader's own fork, so a bare pr create files the pull there and exits 0. It now refuses with exit 2 and names the remote that points at the parent, and the missing---fork advice names origin when the checkout is a fork clone. When issue create, issue comment or pr comment exits 6, it says the write may have landed and that a rerun without --new within 10 minutes finds it instead of writing it again. pr resubmit on a pull someone else opened names pr create as the way to propose the branch.

pr view, pr checks and pr merge note when HEAD on the pull's source branch is past the newest version's head, and an identical pr resubmit says which version already records HEAD and to commit first. All four changes are hints and stderr notes: no flag, --json field or default changes.

🤖 Generated with Claude Code

Commits 4

feat(pr): name pr create when a resubmit is somebody else's
feat(io): say a write may have landed when the host did not answer
feat(pr): say when HEAD is not in the pull
feat(pr): refuse a pull into the actor's own fork