projects
/
gitweb-sgk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f3a3170
)
Styling previous commit (pretty-render markdown files in blob mode) with 'readme...
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Fri, 18 Jun 2021 00:05:23 +0000
(17:05 -0700)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Fri, 18 Jun 2021 00:05:23 +0000
(17:05 -0700)
gitweb.cgi
patch
|
blob
|
blame
|
history
diff --git
a/gitweb.cgi
b/gitweb.cgi
index
a9eba00
..
f564d9d
100755
(executable)
--- a/
gitweb.cgi
+++ b/
gitweb.cgi
@@
-7206,7
+7206,9
@@
sub git_blob {
my $absolute_file_name = "$projectroot/$project";
$absolute_file_name =~ s/\.git$//;
$absolute_file_name = $absolute_file_name . $file_name;
my $absolute_file_name = "$projectroot/$project";
$absolute_file_name =~ s/\.git$//;
$absolute_file_name = $absolute_file_name . $file_name;
+ print "<div class=\"readme\">";
insert_markdown_file($absolute_file_name);
insert_markdown_file($absolute_file_name);
+ print "</div>";
} else {
my $nr;
while (my $line = <$fd>) {
} else {
my $nr;
while (my $line = <$fd>) {