From: Pushkar Singh Date: Mon, 02 Feb 2026 17:27:49 GMT Subject: Re: [BUG] git log --graph --pretty=format misplaces graph characters when -p given Message-ID: In-Reply-To: Hi, I can reproduce this on Git 2.43.0. Minimal steps: git init echo first >test.txt git add test.txt git commit -m "first" echo second >>test.txt git add test.txt git commit -m "second" Then: git log --graph --pretty='format:%h' -p I see the same trailing "|" after the commit hash: * 0139218| | diff --git ... So the graph character appears on the wrong line, matching your report. Tested on WSL/Linux. Thanks, Pushkar