sync: auto-sync from DESKTOP-0O8A1RL at 2026-04-21 19:10:13

Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-04-21 19:10:13
This commit is contained in:
2026-04-21 19:10:25 -07:00
parent 28d6b7646d
commit c37816736b
2 changed files with 8 additions and 4 deletions

View File

@@ -86,8 +86,12 @@ Author: $USER_DISPLAY
Machine: $MACHINE
Timestamp: $TIMESTAMP"
git commit -m "$COMMIT_MSG"
echo -e "${GREEN}[OK]${NC} Committed."
if git diff-index --quiet --cached HEAD -- 2>/dev/null; then
echo -e "${GREEN}[OK]${NC} No stageable changes (submodule internal changes skipped)."
else
git commit -m "$COMMIT_MSG"
echo -e "${GREEN}[OK]${NC} Committed."
fi
else
echo -e "${GREEN}[OK]${NC} No local changes to commit."
fi