bugfix: git message

This commit is contained in:
Ämin Baumeler 2025-06-17 15:43:51 +02:00
parent a9201a7060
commit 387688caca

View File

@ -815,10 +815,11 @@ __delete() {
read -r yn read -r yn
case $yn in case $yn in
"yes") "yes")
sfg="$(__summary_for_commit "$fpath")"
rm -v "$fpath" rm -v "$fpath"
if [ -n "${GIT:-}" ]; then if [ -n "${GIT:-}" ]; then
$GIT add "$fpath" $GIT add "$fpath"
$GIT commit -m "Deleted event '$(__summary_for_commit "$fpath") ...'" -- "$fpath" $GIT commit -m "Deleted event '$sfg ...'" -- "$fpath"
fi fi
break break
;; ;;