From 9af8fca88f05bbbf1feec32d879f7a2a5a477fc8 Mon Sep 17 00:00:00 2001 From: steering7253 Date: Sat, 25 Apr 2026 08:05:08 -0600 Subject: create GIT_DIR/info/web --- post-update | 2 ++ sh.conf.example | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 sh.conf.example diff --git a/post-update b/post-update index bef2cac..0fcf5c0 100755 --- a/post-update +++ b/post-update @@ -3,6 +3,8 @@ default_branch="$(git rev-parse --abbrev-ref HEAD)" default_branch_path="$(git rev-parse --symbolic-full-name HEAD)" +mkdir -p info/web + if git show "$default_branch":README.md >/dev/null 2>&1; then git show "$default_branch":README.md | tee info/web/README.md | cmark >info/web/README.html else diff --git a/sh.conf.example b/sh.conf.example new file mode 100644 index 0000000..e830344 --- /dev/null +++ b/sh.conf.example @@ -0,0 +1,2 @@ +to_host="${to_host:-127.0.0.1}" +to_port="${to_port:-1337}" -- cgit v1.3-10-gefec