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

awk: division by zero #16

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

awk: division by zero #16

aaronjensen opened this issue Jan 21, 2017 · 2 comments

Comments

@aaronjensen
Copy link

aaronjensen commented Jan 21, 2017

I'm trying to run this on any of my repos and I end up with this:

Contribution stats (by author):

        total:
          insertions:    202248 (100%)
          deletions:     72015 (100%)
          files:         10782 (100%)
awk: division by zero
 input record number 18202, file
 source line number 8
arzzen added a commit that referenced this issue Jan 22, 2017
arzzen added a commit that referenced this issue Jan 22, 2017
@arzzen
Copy link
Owner

arzzen commented Jan 22, 2017

fixed in #18

@arzzen arzzen closed this as completed Jan 22, 2017
@aaronjensen
Copy link
Author

Thanks, that fixed the error, but the reporting was still wrong. Apparently it was 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

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

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

No branches or pull requests

2 participants