hoxu / gitstats

git history statistics generator

Home Page:http://gitstats.sourceforge.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git rev-list | grep choke on utf-8 in comments

ibnHatab opened this issue · comments

in Collect revision statistics

lines = getpipeoutput(['git rev-list --pretty=format:"%%at %%ai %%aN <%%aE>" %s' % getlogrange('HEAD'), 'grep -a -v ^commit']).split('\n')
<<
grep breaks the PIPI with: Binary file (standard input) matches.
Adding -a to grep solves the issue.