Skip to content

Show commit dates #46

Description

@glensc

sometimes there are repeated commit messages, so would be nice to know which one is newer

5) fc369bf2e393cf18be5c300ca8b78fb54617074f [L] update composer dependencies <glen@pld-linux.org>

Activity

  1. keis commented on Jun 22, 2020

    @keis
    Owner

    That makes sense and could be as easy as adding "%ar" to the format string. I've not had that specific need myself so I'm not sure it makes sense to add, I imagine all the pretty format options are relevant for someone somewhere but I can imagine this being a pretty common one.

    Making it configurable could be an option but doesn't exclude changing the default and hacking the script might be just as easy as finding the right configuration knob.

    I'll need to think about this one for a while, if anyone wants to chime in on what colour to make the bikeshed feel free!

  2. glensc commented on Jun 25, 2020

    @glensc
    ContributorAuthor

    If you need ideas about the colors, I'm used to some git log alias colors I've using for years (I don't have info about the alias origin):

    image

    [alias]
        lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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