From a0140beadfffdb821b0236daeac4ae637a284b19 Mon Sep 17 00:00:00 2001 From: steering7253 Date: Mon, 18 May 2026 09:25:02 -0600 Subject: add hooks.notify --- post-update | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'post-update') diff --git a/post-update b/post-update index 98ed0a3..4a91eb3 100755 --- a/post-update +++ b/post-update @@ -3,6 +3,12 @@ default_branch="$(git rev-parse --abbrev-ref HEAD)" default_branch_path="$(git rev-parse --symbolic-full-name HEAD)" +if [ -n "$GIT_DIR" ]; then + cd "$GIT_DIR" +elif [ -d .git ]; then + cd .git +fi + mkdir -p info/web if git show "$default_branch":README.md >/dev/null 2>&1; then -- cgit v1.3.1-10-gc9f91