Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: brian (git@myr.sh)
Date: Fri Sep 29 02:13:53 2023 -0300
Parent: 3a07626
Fixed log link
diff --git a/update-repo-log b/update-repo-log index 94adf0f..8d7be84 100755 --- a/update-repo-log +++ b/update-repo-log @@ -40,17 +40,15 @@ createcommitpage() { <h3>Diff</h3> <file> <pre> - <ol> EOF } git show --format='' "$1" | while read -r l do - printf "<li>%s</li>\n" "$(escapehtml "$l")" + escapehtml "$l" done cat <<- EOF - </ol> </pre> </file> </body> @@ -78,7 +76,7 @@ do echo "creating commit page $h" cat <<- EOF >> "$OUT/log.html" - <tr><td><a href=/log/$h.html>$h</a></td><td>$name</td><td>$date</td><td>$msg</td></tr> + <tr><td><a href=log/$h.html>$h</a></td><td>$name</td><td>$date</td><td>$msg</td></tr> EOF createcommitpage "$h" > "$OUT/log/$h.html" done