Merge pull request #65 from Ephemera/tree-with-sha
Get tree correctly when it is with sha hash
This commit is contained in:
commit
205afed066
|
@ -93,7 +93,7 @@
|
|||
return {
|
||||
username : match[1],
|
||||
reponame : match[2],
|
||||
branch : $('*[data-master-branch]').data('ref') || 'master'
|
||||
branch : $('*[data-master-branch]').data('ref') || $('*[data-master-branch] > .js-select-button').text() || 'master'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue