Default config values: {'project_name': '', 'processes': 8, 'max_domains': 10, 'commit_begin': '', 'max _ext_length': 10, 'commit_end': 'HEAD', 'linear_linestats': 1, 'style': 'gitstat s.css', 'max_authors': 20, 'authors_top': 5, 'start_date': ''} Please see th...
AI代码解释 conf={'max_domains':10,'max_ext_length':10,'style':'gitstats.css','max_authors':20,'authors_top':5,'commit_begin':'','commit_end':'HEAD','linear_linestats':1,'project_name':'','processes':8,'start_date':'Wed Jan 1 00:00:00 2020 +0800'} 第五步:执行脚本,指定...
{'project_name': '', 'processes': 8, 'max_domains': 10, 'commit_begin': '', 'max_ext_length': 10, 'commit_end': 'HEAD', 'linear_linestats': 1, 'style': 'gitstats.css', 'max_authors': 20, 'authors_top': 5, 'start_date': ''} Please see the manual page for more de...
self.last_commit_stamp = stamp if self.first_commit_stamp == 0 or stamp < self.first_commit_stamp: self.first_commit_stamp = stamp # activity # hour hour = date.hour self.activity_by_hour_of_day[hour] = self.activity_by_hour_of_day.get(hour, 0) + 1 ...
git show -s --format=%ct<commit Here's the actualgitstatsCfg.jsI am using in my project. constignore="static/|public/|.json|.txt|.md|.gitignore|.yml|.editorconfig|.lock|chart/config.js"constcommit_begin="2add5d6"constcommit_delta="1616997336,-600|1619306440,1120"constshow_author_loc...
conf = { 'max_domains': 1000, 'max_ext_length': 1000, 'style': 'gitstats.css', 'max_authors': 2000, 'authors_top': 5, 'commit_begin': '', 'commit_end': 'HEAD', 'linear_linestats': 1, 'project_name': '', 'processes': 8, 'start_date': '', 'anonymize':0 } About...
if self.first_commit_stamp == 0 or stamp < self.first_commit_stamp: self.first_commit_stamp = stamp # activity # hour hour = date.hour self.activity_by_hour_of_day[hour] = self.activity_by_hour_of_day.get(hour, 0) + 1 ...