diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-vcs/gitstats/files/gitstats-0_pre131024-filter-invalid-unicode.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-vcs/gitstats/files/gitstats-0_pre131024-filter-invalid-unicode.patch')
-rw-r--r-- | dev-vcs/gitstats/files/gitstats-0_pre131024-filter-invalid-unicode.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-vcs/gitstats/files/gitstats-0_pre131024-filter-invalid-unicode.patch b/dev-vcs/gitstats/files/gitstats-0_pre131024-filter-invalid-unicode.patch new file mode 100644 index 000000000000..4af6f890ec40 --- /dev/null +++ b/dev-vcs/gitstats/files/gitstats-0_pre131024-filter-invalid-unicode.patch @@ -0,0 +1,11 @@ +--- gitstats 2016-03-24 10:57:18.000000000 -0300 ++++ gitstats.mod 2016-03-24 10:57:11.355016439 -0300 +@@ -321,7 +321,7 @@ + + # Collect revision statistics + # Outputs "<stamp> <date> <time> <timezone> <author> '<' <mail> '>'" +- lines = getpipeoutput(['git rev-list --pretty=format:"%%at %%ai %%aN <%%aE>" %s' % getcommitrange('HEAD'), 'grep -v ^commit']).split('\n') ++ lines = getpipeoutput(['git rev-list --pretty=format:"%%at %%ai %%aN <%%aE>" %s' % getcommitrange('HEAD'), 'grep -av ^commit | grep -ax \'.*\'']).split('\n') + for line in lines: + parts = line.split(' ', 4) + author = '' |