Skip to content

Wrong color parameter in glg and other aliases in git plugin #4727

Closed
@atk91

Description

In my ~/.gitconfig I have

[color]
    pager = no

And I use vim as pager. It has built-in git log highlighting, so the output of git log looks like this:
1

However, glg output looks weird:
2

This happens because glg alias expands to git log --stat --color -p and --color param prevents color.ui = no in my ~/.gitconfig from working.

I think --color should be removed from all git log aliases in order to let user decide in his ~/.gitconfig whether to use colorized git log output or not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Topic: aliasPull Request or issue regarding aliases

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions