Commit 85ec677
committed
Only require ref to exist when using tag/branch
Changes to the GitHub GraphQL API mean that resolving
references with `HEAD` no longer work.
However, we don't need to actually do this when
providing a commit SHA as a base,
so we can move the error check to only when
we need this information when committing to the same
branch as the base.1 parent cbe0416 commit 85ec677
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 82 | | |
87 | 83 | | |
88 | 84 | | |
| |||
97 | 93 | | |
98 | 94 | | |
99 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments