[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: [PATCH 09/14] gitweb: split heads list in head view if appropriate
From: Giuseppe Bilotta <giuseppe.bilotta () gmail ! com>
Date: 2007-08-31 11:18:40
Message-ID: 11885591321597-git-send-email-giuseppe.bilotta () gmail ! com
[Download RAW message or body]
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
---
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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic