Browse Source

git-ls-files: look for '^c' instead of '^commit'.

Heikki Hokkanen 18 years ago
parent
commit
b10f1a573d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      gitstats

+ 1
- 1
gitstats View File

135
 		self.total_commits = len(lines) / 2
135
 		self.total_commits = len(lines) / 2
136
 		commit = '0'
136
 		commit = '0'
137
 		for line in lines:
137
 		for line in lines:
138
-			if line[:6] == 'commit':
138
+			if line[0] == 'c':
139
 				commit = line[7:]
139
 				commit = line[7:]
140
 				continue
140
 				continue
141
 			
141