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:03:24 2023 -0300
Parent: 10d444e
FIxed log diff
diff --git a/update-repo-log b/update-repo-log index 5ce9b22..cd38394 100755 --- a/update-repo-log +++ b/update-repo-log @@ -32,11 +32,14 @@ createcommitpage() { EOF # the rest is the message - cat - <<- EOF + cat - + + # now the diff + cat <<- EOF </pre> <p>Diff</p> <pre> - $(git diff "$1") + $(git show --format='' "$1") </pre> </body> </html> @@ -64,7 +67,7 @@ do echo "creating commit page $h" cat <<- EOF >> "$OUT/log.html" - <tr><td><a href=$h.html>$h</a></td><td>$name</td><td>$date</td></tr><td>$msg</td> + <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