Commit d011ae5
committed
CIHelper: move the responsibility to
We already push the notes ref when updating the PR metadata (i.e. the
object attached to the blob whose contents are the PR URL), therefore it
makes only sense to combine that with any update to the
GitGitGadgetOptions (i.e. the object attached to the empty object).
This simplifies the logic (and the separation of concerns) quite a bit.
Suggested-by: Chris. Webster <chris@webstech.net>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>push from handleOpenPRs() to handlePR()
1 parent 57beda4 commit d011ae5
1 file changed
+6
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
| 254 | + | |
256 | 255 | | |
257 | 256 | | |
258 | 257 | | |
259 | 258 | | |
260 | 259 | | |
261 | 260 | | |
262 | 261 | | |
263 | | - | |
264 | 262 | | |
265 | 263 | | |
266 | 264 | | |
267 | 265 | | |
268 | 266 | | |
269 | | - | |
270 | | - | |
| 267 | + | |
| 268 | + | |
271 | 269 | | |
272 | 270 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | 271 | | |
283 | 272 | | |
284 | 273 | | |
| |||
416 | 405 | | |
417 | 406 | | |
418 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
419 | 411 | | |
420 | 412 | | |
421 | 413 | | |
| |||
0 commit comments