From: Giuseppe Bilotta Date: Thu, 11 Nov 2010 12:26:18 +0000 (+0100) Subject: git instaweb: enable remote_heads X-Git-Tag: v1.7.4-rc0~80^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fc5b8e0163fc9e37707d22dbc484a59040c48292;p=git.git 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 Acked-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/git-instaweb.sh b/git-instaweb.sh index e6f6ecda1..10fcebb11 100755 --- a/git-instaweb.sh +++ b/git-instaweb.sh @@ -580,6 +580,8 @@ gitweb_conf() { our \$projectroot = "$(dirname "$fqgitdir")"; our \$git_temp = "$fqgitdir/gitweb/tmp"; our \$projects_list = \$projectroot; + +\$feature{'remote_heads'}{'default'} = [1]; EOF }