forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-vcs/gitstats-0_pre131024: fix bug #575946
Gentoo-bug: 575946 Reported-by: Martin Mokrejš Package-Manager: portage-2.2.28
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
dev-vcs/gitstats/files/gitstats-0_pre131024-filter-invalid-unicode.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters