Skip to content
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

git-quick-stats should ignore format.pretty in gitconfig #19

Closed
aaronjensen opened this issue Jan 22, 2017 · 2 comments
Closed

git-quick-stats should ignore format.pretty in gitconfig #19

aaronjensen opened this issue Jan 22, 2017 · 2 comments
Labels

Comments

@aaronjensen
Copy link

As mentioned in #16,

Apparently git-quick-stats is using my overridden pretty format from my git config. To repro, add this to your gitconfig:

[format]
  pretty=format:%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset

It reports no contributors for the contribution stats.

You may need to hard code the format you use, or maybe temporarily unset HOME so it ignores the gitconfig.

@arzzen
Copy link
Owner

arzzen commented Jan 25, 2017

@aaronjensen fixed in ecdb11c

@arzzen arzzen added test and removed bug 🐛 labels Jan 25, 2017
@arzzen arzzen closed this as completed Jan 25, 2017
@aaronjensen
Copy link
Author

Works great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants