Commit 4012304
committed
Github: handling branches containing '/'
Prior to this, when processing the payload sent by the Github webhook
(via checkin.php), the commit() method would truncate a branch after the
first contained '/', i.e. 'dev/1.1.0' would be saved as 'dev'.
By using explode()'s limit parameter when splitting the branch ref we
get from the Github payload, we keep everything after the 2nd '/'.
Fixes #1931 parent 39fbb5f commit 4012304
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments