From 387688caca816a1af17e812bef68338eb73a392d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=84min=20Baumeler?= Date: Tue, 17 Jun 2025 15:43:51 +0200 Subject: [PATCH] bugfix: git message --- src/main.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.sh b/src/main.sh index 77c731c..e679926 100755 --- a/src/main.sh +++ b/src/main.sh @@ -815,10 +815,11 @@ __delete() { read -r yn case $yn in "yes") + sfg="$(__summary_for_commit "$fpath")" rm -v "$fpath" if [ -n "${GIT:-}" ]; then $GIT add "$fpath" - $GIT commit -m "Deleted event '$(__summary_for_commit "$fpath") ...'" -- "$fpath" + $GIT commit -m "Deleted event '$sfg ...'" -- "$fpath" fi break ;;