From 67eab4b86434ce6bd7713781df576a770f09b876 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 5 Apr 2026 16:54:54 +0200 Subject: [PATCH] pgit.sh: Fix log_start_stop() log_start_stop() is responsible for logging markers at the beginning and end of a decorated log. They should not be applied if pgit.sh is run with --porcelain. In fact, they are, and vice versa. Fix that. Signed-off-by: Jan Lindemann --- scripts/pgit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pgit.sh b/scripts/pgit.sh index c7d0f3a8..81874eba 100644 --- a/scripts/pgit.sh +++ b/scripts/pgit.sh @@ -46,7 +46,7 @@ fat_marker() log_start_stop() { - [ "$porcelain" = 1 ] || return + [ "$porcelain" = 1 ] && return local b e if [ "$1" = start ]; then b=","