[PATCHv7 11/11] git instaweb: enable remote_heads
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Nov 11, 2010, 12:26 UTC
- Message-ID
- <1289478378-15604-12-git-send-email-giuseppe.bilotta@gmail.com>
- In-Reply-To
- <1289478378-15604-1-git-send-email-giuseppe.bilotta@gmail.com>
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> --- git-instaweb.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/git-instaweb.sh b/git-instaweb.sh index e6f6ecd..10fcebb 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 }
-- 1.7.3.68.g6ec8