From: Giuseppe Bilotta Date: Fri, 31 Aug 2007 11:18:40 GMT Subject: [PATCH 09/14] gitweb: split heads list in head view if appropriate Message-ID: <11885591321597-git-send-email-giuseppe.bilotta@gmail.com> In-Reply-To: <11885591283893-git-send-email-giuseppe.bilotta@gmail.com> Signed-off-by: Giuseppe Bilotta --- gitweb/gitweb.perl | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 6dfb2f4..09d9793 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -4195,6 +4195,9 @@ sub git_heads { my @headslist = git_get_heads_list(); if (@headslist) { + my ($remote_heads) = gitweb_check_feature('remote_heads'); + $remote_heads ? + git_split_heads_body(\@headslist, $head) : git_heads_body(\@headslist, $head); } git_footer_html(); -- 1.5.2.5