The `git log` command with `graph` and pretty format works correctly as expected. $ git log --graph --pretty=format:'%h' -2 * 714a14e * 87dce5f However, with `--name-status` option added, there is a pipe incorrectly placed after the commit hash (example below). $ git log --graph --pretty=format:'%h' -2 --name-status * 714a14e| | M README.md | A rm.Extensions/BitSet.cs | M rm.Extensions/Properties/AssemblyInfo.cs | M rm.Extensions/rm.Extensions.csproj | A rm.ExtensionsTest/BitSetTest.cs | M rm.ExtensionsTest/rm.ExtensionsTest.csproj * 87dce5f| | M rm.Extensions/GraphExtension.cs | M rm.Extensions/Wrapped.cs | M rm.Extensions/WrappedExtension.cs | M rm.Extensions/rm.Extensions.csproj IMHO, I think this is a bug. I think the correct output should be below. $ git log --graph --pretty=format:'%h' -2 --name-status * 714a14e | M README.md | A rm.Extensions/BitSet.cs | M rm.Extensions/Properties/AssemblyInfo.cs | M rm.Extensions/rm.Extensions.csproj | A rm.ExtensionsTest/BitSetTest.cs | M rm.ExtensionsTest/rm.ExtensionsTest.csproj | * 87dce5f | M rm.Extensions/GraphExtension.cs | M rm.Extensions/Wrapped.cs | M rm.Extensions/WrappedExtension.cs | M rm.Extensions/rm.Extensions.csproj I'm using this: git version 2.11.0.windows.1 GNU bash, version 4.3.46(2)-release (x86_64-pc-msys) Windows 8.1 64-bit Thanks, RM