Skip to content

Badly passed --pretty argument #143

@yvvki

Description

@yvvki

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions