Commit f7c84a6
committed
git-review-rebase: unambiguously interpret refspec as a commit.
This avoids an annoying and sometimes cryptic error when passing ranges
with a tag, as they'd internally to pygit2 resolve to the tag object as
opposed to the commit object.
Tested that it still works with sha1s, refs, tags.
Signed-off-by: Quentin Casasnovas <quentin.casasnovas@vates.tech>1 parent 6b38140 commit f7c84a6
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
| 145 | + | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments