Pārlūkot izejas kodu

Respect .mailmap.

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
Bo Ørsted Andresen 15 gadus atpakaļ
vecāks
revīzija
55e46db71b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      gitstats

+ 2
- 2
gitstats Parādīt failu

216
 			(hash, tag) = line.split(' ')
216
 			(hash, tag) = line.split(' ')
217
 
217
 
218
 			tag = tag.replace('refs/tags/', '')
218
 			tag = tag.replace('refs/tags/', '')
219
-			output = getpipeoutput(['git log "%s" --pretty=format:"%%at %%an" -n 1' % hash])
219
+			output = getpipeoutput(['git log "%s" --pretty=format:"%%at %%aN" -n 1' % hash])
220
 			if len(output) > 0:
220
 			if len(output) > 0:
221
 				parts = output.split(' ')
221
 				parts = output.split(' ')
222
 				stamp = 0
222
 				stamp = 0
400
 		#  N files changed, N insertions (+), N deletions(-)
400
 		#  N files changed, N insertions (+), N deletions(-)
401
 		# <stamp> <author>
401
 		# <stamp> <author>
402
 		self.changes_by_date = {} # stamp -> { files, ins, del }
402
 		self.changes_by_date = {} # stamp -> { files, ins, del }
403
-		lines = getpipeoutput(['git log --shortstat --pretty=format:"%%at %%an" %s' % getcommitrange('HEAD')]).split('\n')
403
+		lines = getpipeoutput(['git log --shortstat --pretty=format:"%%at %%aN" %s' % getcommitrange('HEAD')]).split('\n')
404
 		lines.reverse()
404
 		lines.reverse()
405
 		files = 0; inserted = 0; deleted = 0; total_lines = 0
405
 		files = 0; inserted = 0; deleted = 0; total_lines = 0
406
 		author = None
406
 		author = None