Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 371739 - git-repository.html - active branch should be displayed …
…on top of the list.
  • Loading branch information
edytaprzymus committed Jul 17, 2012
1 parent e66fb5c commit 09d25ca
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -493,7 +493,12 @@ exports.GitRepositoryExplorer = (function() {

for(var i=0; i<branches.length;i++){
branches[i].ParentLocation = branchLocation;
that.renderBranch(branches[i], i);
if(branches[i].Current)
that.renderBranch(branches[i], i);
}
for(var i=0; i<branches.length;i++){
if(branches[i].Current === false)
that.renderBranch(branches[i], i);
}
}, function(error){
progress.done();
Expand Down

0 comments on commit 09d25ca

Please sign in to comment.