Running this command should yield a correct pretty formatted git log:
git log -5 --pretty=tformat:' * %C(yellow)%h%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset'
However, doing the argument passed by wslgit doesn't pass the %<|(72,trunc) correctly, it would print something like this instead:
* abc123456 %\<|(72,trunc)feat: commit message 10 minutes ago
Notice the appended \ just before the < symbol.
Running this command should yield a correct pretty formatted git log:
git log -5 --pretty=tformat:' * %C(yellow)%h%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset'However, doing the argument passed by wslgit doesn't pass the
%<|(72,trunc)correctly, it would print something like this instead:Notice the appended
\just before the<symbol.