list

scripts

Repo containing scripts to be used with dovel, and git hooks that powers our web interface.

curl https://dovel.email/scripts.tar tar

fba27d2

Author: blmayer (bleemayer@gmail.com)

Date: Wed Oct 4 02:36:45 2023 -0300

Parent: 602f49a

Added -- to git command

Diff

post-receive

diff --git a/post-receive b/post-receive
index ae68c44..84d3b52 100755
--- a/post-receive
+++ b/post-receive
@@ -222,7 +222,7 @@ updatetree() {
 		EOF
 
 		# create html page with file content
-		git show --format='' --name-status "$1" "$f" | read -r op x
+		git show --format='' --name-status "$1" -- "$f" | read -r op x
 		case "$op" in
 			"D") rm "$OUT/tree/$f.html"; continue ;;
 			"C"|"M") filepage "$f" > "$OUT/tree/$f.html" ;;