Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: blmayer (bleemayer@gmail.com)
Date: Tue Oct 3 01:00:09 2023 -0300
Parent: ac1a52c
Fixed show
commit d3b8c693e7702ea8b3f0f599efc13c3b02e7c369
Author: blmayer <bleemayer@gmail.com>
Date: Tue Oct 3 01:00:09 2023 -0300
Fixed show
diff --git a/post-receive b/post-receive
index 8dd04d6..9ff3d8b 100755
--- a/post-receive
+++ b/post-receive
@@ -111,7 +111,7 @@ createcommitpage() {
cat << EOF
<h4>$f</h4>
<pre style="overflow-x:auto;white-space:pre">
-$(git diff "$1^!" "$f" | escapehtml)
+$(git show "$1" -- "$f" --format='' | escapehtml)
</pre>
EOF
done