Commit 6653b18
committed
fix(AI-81): keep full origin/HEAD ref so base works in single-branch clones
Previously the skill stripped `origin/` from `origin/main`, leaving `<base>`
set to `main`. In single-branch clones (and after deleting a local `main`)
that local ref does not exist, so the subsequent `git merge-base <base> HEAD`
and `git rev-parse <base>` calls fail. Use the full remote-tracking ref
(`origin/main`) as `<base>` directly — git accepts it everywhere a commit-ish
is expected.1 parent a14ab7b commit 6653b18
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments