mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
optimize<Statistics>: add --branches --remotes
to generated statistics
This commit is contained in:
parent
4ef2a70ebd
commit
94ef2a9b69
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ namespace SourceGit.Views {
|
||||||
var week = today.DayOfWeek;
|
var week = today.DayOfWeek;
|
||||||
var month = today.Month;
|
var month = today.Month;
|
||||||
|
|
||||||
var limits = $"--since=\"{today.ToString("yyyy-MM-01 00:00:00")}\"";
|
var limits = $"--branches --remotes --since=\"{today.ToString("yyyy-MM-01 00:00:00")}\"";
|
||||||
var commits = new Commands.Commits(repo, limits).Result();
|
var commits = new Commands.Commits(repo, limits).Result();
|
||||||
var totalCommitsMonth = commits.Count;
|
var totalCommitsMonth = commits.Count;
|
||||||
var totalCommitsWeek = 0;
|
var totalCommitsWeek = 0;
|
||||||
|
|
Loading…
Reference in a new issue