git instaweb: enable remote_heads
When using git instaweb to browse a local repository, performance is much less of an issue, and providing as much information as possible has a higher priority, so it makes sense to enable remote_heads. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Giuseppe Bilotta committed
Nov 11, 2010 at 13:26 UTC
fc5b8e0163fc9e37707d22dbc484a59040c48292
1 file changed
+2
git-instaweb.sh
+2
@@ -580,6 +580,8 @@ gitweb_conf() {
580
our \$projectroot = "$(dirname "$fqgitdir")";
581
our \$git_temp = "$fqgitdir/gitweb/tmp";
582
our \$projects_list = \$projectroot;
583
+
584
+\$feature{'remote_heads'}{'default'} = [1];
585
EOF
586
}
587