feat(infra): auto-commit con 1 cambios
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -34,6 +34,13 @@ git_auto_commit_dirty() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Saltear si hay merge conflicts sin resolver (UU, AA, DD, AU, UA, DU, UD).
|
||||
# git add -A los aceptaria como resueltos y commitearia los markers — no.
|
||||
if echo "$status" | grep -qE '^(UU|AA|DD|AU|UA|DU|UD) '; then
|
||||
echo "git_auto_commit_dirty: '$abs_repo' tiene conflictos sin resolver — skipped" >&2
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Generar mensaje automatico si no se proporciono
|
||||
if [[ -z "$message" ]]; then
|
||||
message="$(_git_auto_commit_dirty_generate_message "$abs_repo" "$status")"
|
||||
|
||||
Reference in New Issue
Block a user