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 <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-04-05 16:54:54 +02:00
commit 67eab4b864

View file

@ -46,7 +46,7 @@ fat_marker()
log_start_stop()
{
[ "$porcelain" = 1 ] || return
[ "$porcelain" = 1 ] && return
local b e
if [ "$1" = start ]; then
b=","