Browse Source

Be multirepo-compatible by not resetting total_size.

Heikki Hokkanen 14 years ago
parent
commit
8b7ddc1f1d
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      gitstats

+ 0
- 1
gitstats View File

406
 
406
 
407
 		# extensions and size of files
407
 		# extensions and size of files
408
 		lines = getpipeoutput(['git ls-tree -r -l -z %s' % getcommitrange('HEAD', end_only = True)]).split('\000')
408
 		lines = getpipeoutput(['git ls-tree -r -l -z %s' % getcommitrange('HEAD', end_only = True)]).split('\000')
409
-		self.total_size = 0
410
 		for line in lines:
409
 		for line in lines:
411
 			if len(line) == 0:
410
 			if len(line) == 0:
412
 				continue
411
 				continue