author | Petr Baudis <pasky@suse.cz> | |
Tue, 24 Oct 2006 03:23:46 +0000 (05:23 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 24 Oct 2006 03:55:44 +0000 (20:55 -0700) | ||
commit | 447ef09a5cf98bea28ec5123b968c966afce5772 | |
tree | a8f64051b0badebdaf9f49f96c589b734e294b3b | tree | snapshot |
parent | 8be2890c994102d5748342f44bd6353bd482b58b | commit | diff |
gitweb: Show project's README.html if available
If the repository includes a README.html file, show it in the summary page.
The usual "this should be in the config file" argument does not apply here
since this can be larger and having such a big string in the config file
would be impractical.
I don't know if this is suitable upstream, but it's one of the repo.or.cz
custom modifications that I've thought could be interesting for others
as well.
Compared to the previous patch, this adds the '.html' extension to the
filename, so that it's clear it is, well, HTML.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
If the repository includes a README.html file, show it in the summary page.
The usual "this should be in the config file" argument does not apply here
since this can be larger and having such a big string in the config file
would be impractical.
I don't know if this is suitable upstream, but it's one of the repo.or.cz
custom modifications that I've thought could be interesting for others
as well.
Compared to the previous patch, this adds the '.html' extension to the
filename, so that it's clear it is, well, HTML.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |