gitweb: support automatic readme generation
commit59721cf5cbc0cdd2cb61e5f5f72dc81488438370
authorKyle J. McKay <mackyle@gmail.com>
Fri, 4 Sep 2015 00:15:13 +0000 (3 17:15 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 4 Sep 2015 00:15:13 +0000 (3 17:15 -0700)
treecffa5fab711d0f0e09b51aecdd18ea0543a4eb45
parent7fe79b42a1357b67e72084d6609346e12e88980f
gitweb: support automatic readme generation

If enabled by setting $git_automatic_readme_html to an executable
that takes a .git directory as its argument, then if README.html
insertion is enabled and README.html does not exist or is zero
length, then the output of the $git_automatic_readme_html utility
will be inserted instead if it is non-empty.

It's still possible to prevent display of any readme by creating
a README.html file that consists of only XML <!-- comments -->.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
gitweb/gitweb.perl
gitweb/static/gitweb.css