mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 21:24:59 +00:00
optimize<*>: reduce repository loading time
This commit is contained in:
parent
738daddbc7
commit
918eb48663
8 changed files with 38 additions and 43 deletions
|
@ -39,7 +39,7 @@ namespace SourceGit.Commands {
|
|||
} else if (line.StartsWith("author ", StringComparison.Ordinal)) {
|
||||
Models.User user = Models.User.Invalid;
|
||||
ulong time = 0;
|
||||
Models.Commit.ParseUserAndTime(line, ref user, ref time);
|
||||
Models.Commit.ParseUserAndTime(line.Substring(7), ref user, ref time);
|
||||
current.Author = user;
|
||||
current.Time = time;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue