Commit 147d71c
Fetch PR head ref to fix cherry-pick for fork PRs
The PR head SHA may not exist locally when the PR comes from a fork,
since git fetch origin only fetches base repo branches. Explicitly
fetch the PR ref via refs/pull/N/head so the SHA is available for
the cherry-pick revision range.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5e3b839 commit 147d71c
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments