chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:17:40 +08:00
commit f1825c8ceb
10096 changed files with 2364182 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/bin/sh
#
## hook prepare-commit-msg
COMMIT_MESSAGE_FILE="$1"
NAME="$(git config --get user.name)"
EMAIL="$(git config --get user.email)"
if [ -z "$NAME" ]; then
echo "empty git config user.name"
exit 1
fi
if [ -z "$EMAIL" ]; then
echo "empty git config user.email"
exit 1
fi
git interpret-trailers --if-exists doNothing --trailer \
"Signed-off-by: $NAME <$EMAIL>" \
--in-place "$COMMIT_MESSAGE_FILE"