ソースを参照

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

Heikki Hokkanen 18 年 前
コミット
b10f1a573d
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      gitstats

+ 1
- 1
gitstats ファイルの表示

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