diff --git a/ui-shared.c b/ui-shared.c index 1dd8722..ac5a287 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -895,6 +895,8 @@ static void print_header(void) cgit_add_hidden_formfields(0, 1, ctx.qry.page); html("\n"); for_each_branch_ref(print_branch_option, ctx.qry.head); + if (ctx.repo->enable_remote_branches) + for_each_remote_ref(print_branch_option, ctx.qry.head); html(" "); html(""); html("");