The tree navbar doesn't handle branch refs as it should.

Timeline

Amolith opened

When the repo is sgx-jmp and the branch name is generate-promo-codes, pkg/web/templates/tree.html produces

<li><a href="/sgx-jmp/tree/generate-promo-codes">generate</a></li>

While it should be

<li><a href="/sgx-jmp/tree/generate-promo-codes">generate-promo-codes</a></li>

Amolith closed the bug