aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c2
1 files changed, 2 insertions, 0 deletions
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)
895 cgit_add_hidden_formfields(0, 1, ctx.qry.page); 895 cgit_add_hidden_formfields(0, 1, ctx.qry.page);
896 html("<select name='h' onchange='this.form.submit();'>\n"); 896 html("<select name='h' onchange='this.form.submit();'>\n");
897 for_each_branch_ref(print_branch_option, ctx.qry.head); 897 for_each_branch_ref(print_branch_option, ctx.qry.head);
898 if (ctx.repo->enable_remote_branches)
899 for_each_remote_ref(print_branch_option, ctx.qry.head);
898 html("</select> "); 900 html("</select> ");
899 html("<input type='submit' name='' value='switch'/>"); 901 html("<input type='submit' name='' value='switch'/>");
900 html("</form>"); 902 html("</form>");