When multiple commits are pushed, for some reason all except the last one are marked as made from master instead of the branch they're really in.
It's actually a bug on both sides - BitBucket and PHPCI. Their payload carries the branch information only for the last commit. In all other commits it's omitted. PHPCI takes the null value for branch in the payload as master.
I'm not sure if it's safe to assume that all commits in the push are coming from the same branch since there is a way to push everything at once and I have no idea how git (and BitBucket) will handle that. Will test what pushing more branches at once will do.
When multiple commits are pushed, for some reason all except the last one are marked as made from
master
instead of the branch they're really in.It's actually a bug on both sides - BitBucket and PHPCI. Their payload carries the branch information only for the last commit. In all other commits it's omitted. PHPCI takes the
null
value forbranch
in the payload asmaster
.I'm not sure if it's safe to assume that all commits in the push are coming from the same branch since there is a way to push everything at once and I have no idea how git (and BitBucket) will handle that. Will test what pushing more branches at once will do.