You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-vcs/gitstats/files/gitstats-0_pre20151223-grep...

12 lines
577 B

--- a/gitstats 2016-04-01 09:46:31.000000000 -0300
+++ b/gitstats 2016-04-01 09:46:18.458667610 -0300
@@ -327,7 +327,7 @@
# Collect revision statistics
# Outputs "<stamp> <date> <time> <timezone> <author> '<' <mail> '>'"
- lines = getpipeoutput(['git rev-list --pretty=format:"%%at %%ai %%aN <%%aE>" %s' % getlogrange('HEAD'), 'grep -v ^commit']).split('\n')
+ lines = getpipeoutput(['git rev-list --pretty=format:"%%at %%ai %%aN <%%aE>" %s' % getlogrange('HEAD'), 'grep -av ^commit']).split('\n')
for line in lines:
parts = line.split(' ', 4)
author = ''