Commit 2dd2dbb
committed
Refactor Repo Tag and Branch Target types to a single Ref Target
This commit refactors the existing RepositoryBranchTarget and
RepositoryTagTarget types to a single RepositoryRefTarget since tags and
branches are both refs and the two Target variables represented the
same type anyways. This will also help us move to removing branch
and tag specific options types into a single refs options type.
See ktrysmt#155 and
ktrysmt#153 (comment)1 parent 0ec6e04 commit 2dd2dbb
1 file changed
+9
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
217 | 221 | | |
218 | 222 | | |
219 | 223 | | |
| |||
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
245 | 237 | | |
246 | 238 | | |
247 | 239 | | |
| |||
259 | 251 | | |
260 | 252 | | |
261 | 253 | | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
| 254 | + | |
267 | 255 | | |
268 | 256 | | |
269 | 257 | | |
| |||
0 commit comments