From 23233cace78adc76d778a89899b7127b00fed340 Mon Sep 17 00:00:00 2001 From: demenik Date: Tue, 2 Dec 2025 19:17:28 +0100 Subject: [PATCH] fix: Use tformat, so that while loop doesn't ignore last line --- home/shells/zsh/scripts/git-changes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/shells/zsh/scripts/git-changes.sh b/home/shells/zsh/scripts/git-changes.sh index 2859b5a..ce2c768 100644 --- a/home/shells/zsh/scripts/git-changes.sh +++ b/home/shells/zsh/scripts/git-changes.sh @@ -85,7 +85,7 @@ while IFS="|" read -r hash subject; do others="${others}\n${line}" fi -done < <(git log --no-merges --pretty=format:"%H|%s" "$BASE_BRANCH..$TARGET_BRANCH") +done < <(git log --no-merges --pretty=tformat:"%H|%s" "$BASE_BRANCH..$TARGET_BRANCH") if [ -n "$feats" ]; then echo -e "\n- **New Features:**$feats"