diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt index d240a2f66..4b8d1b1d4 100644 --- a/Documentation/gitweb.conf.txt +++ b/Documentation/gitweb.conf.txt @@ -503,6 +503,9 @@ $omit_age_column:: If true, omit the column with date of the most current commit on the projects list page. It can save a bit of I/O and a fork per repository. +$omit_owner:: + If true prevents displaying information about repository owner. + $per_request_config:: If this is set to code reference, it will be run once for each request. You can set parts of configuration that change per session this way. diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 00857347d..cf160a1b5 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -136,6 +136,9 @@ sub evaluate_uri { # don't generate age column on the projects list page our $omit_age_column = 0; +# don't generate information about owners of repositories +our $omit_owner=0; + # show repository only if this subroutine returns true # when given the path to the project, for example: # sub { return -e "$_[0]/git-daemon-export-ok"; } @@ -5465,8 +5468,10 @@ sub git_project_list_rows { ? esc_html_match_hl_chopped($pr->{'descr_long'}, $pr->{'descr'}, $search_regexp) : esc_html($pr->{'descr'})) . - "\n" . - "
description | " . esc_html($descr) . " |
owner | " . esc_html($owner) . " |
description | " . esc_html($descr) . " |
owner | " . esc_html($owner) . " |
last change | " . "".format_timestamp_html(\%cd)." |