-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Badly passed --pretty
argument
#143
Comments
It seems to work just fine for me, using the exact command you posted from powershell (with git version 2.43.0 in WSL). However, I can't get the incorrect escaping behavior that you observed. Are you using the latest version of wslgit? Do you have any special configuration, e.g. environment variables for wslgit? |
I tried using CMD and changed the quote as you suggested, but the appended
Here's my
|
Sorry for the late reply. My configuration is almost exactly the same, except I'm on Windows 10:
Not sure what makes the difference here, I'll try to do some testing if I find some time. |
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.The text was updated successfully, but these errors were encountered: