fix: zsh-safe var rename + yaml returns as list
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -73,9 +73,9 @@ ensure_repo_synced() {
|
||||
# gitea_push_directory ya hace commit con su mensaje por defecto. Para
|
||||
# respetar commit_msg custom, hacemos commit aqui antes si hay cambios.
|
||||
if [[ -d "$directory/.git" ]]; then
|
||||
local status
|
||||
status=$(git -C "$directory" status --porcelain)
|
||||
if [[ -n "$status" ]]; then
|
||||
local git_status
|
||||
git_status=$(git -C "$directory" status --porcelain)
|
||||
if [[ -n "$git_status" ]]; then
|
||||
echo "ensure_repo_synced: commiteando cambios con mensaje: $commit_msg" >&2
|
||||
git -C "$directory" add -A
|
||||
git -C "$directory" \
|
||||
|
||||
Reference in New Issue
Block a user