From d1bc2fe95e5c19db05de06f5287b8a5b5e727633 Mon Sep 17 00:00:00 2001 From: openclaw-314 Date: Tue, 14 Jul 2026 20:50:16 +0800 Subject: [PATCH] auto: sync OpenClaw config 2026-07-14 20:50 --- auto-commit-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-commit-config.sh b/auto-commit-config.sh index c0d89a1..d444df0 100755 --- a/auto-commit-config.sh +++ b/auto-commit-config.sh @@ -7,7 +7,7 @@ cd "$REPO_DIR" || exit 1 # 检查是否有变更 # 检查是否有文件变更(忽略子模块 workspace) -CHANGES=$(git status --porcelain 2>/dev/null | grep -v '^[? ]* workspace' | head -1) +CHANGES=$(git status --porcelain --ignore-submodules 2>/dev/null) if [ -z "$CHANGES" ]; then # 无变更,静默退出 exit 0