git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
index: link scope in git messages to existing page
[sheet.git]
/
index.plp
diff --git
a/index.plp
b/index.plp
index 468e92731e84ec4d421f620895dd43416b61f340..7377784883e643d3bc971dbbf0691d9e661510f9 100644
(file)
--- a/
index.plp
+++ b/
index.plp
@@
-35,6
+35,7
@@
if (open my $log, '<', 'UPDATE') {{
EscapeHTML $line;
my ($date, $subject) = split /[\t\n]/, $line;
$date =~ s/ \K/<small>/ and $date .= '</small>';
+ $subject =~ s{\A(\w+)(?=: )}{showlink($1, -e "$1.plp" && "/$1")}e;
say "<p><strong>Last update</strong>: $date $subject</p>";
}}