Github onebox should show branch name

When a github link to a “different than master” branch is posted, the onebox should somehow show the branch name.

Here is an exmaple from Proposal: Consolidated Review Queue - #8 by eviltrout :

From this preview i understand that this is on github.com/discourse/discourse and i would expect the branch to be the master branch, which is not correct as the branch is named reviewable: https://github.com/discourse/discourse/tree/reviewable. (Also observe that in the inline link, the branch name is shown correctly).

13개의 좋아요

https://github.com/discourse/discourse/tree/ajax-type

https://github.com/discourse/discourse/tree/ajax-type

여전히 그렇지 않은 것 같습니다 … 이 문제에 대해 PR을 환영합니다. 기본값으로 해당 브랜치가 없는 경우, 특정 마스터가 아닌 브랜치가 링크된 경우에만 문제가 없는 것 같습니다.

9개의 좋아요

이제 작동합니다 :hugs:

1개의 좋아요