mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 05:05:00 +00:00
optimize<User>: reduce memory used by commit's author/committer data
This commit is contained in:
parent
d9afb798db
commit
766f24f4b0
14 changed files with 91 additions and 41 deletions
|
@ -61,9 +61,9 @@ namespace SourceGit.Commands {
|
|||
}
|
||||
|
||||
private string ParseTrackStatus(string data) {
|
||||
if (string.IsNullOrEmpty(data)) return "";
|
||||
if (string.IsNullOrEmpty(data)) return string.Empty;
|
||||
|
||||
string track = "";
|
||||
string track = string.Empty;
|
||||
|
||||
var ahead = REG_AHEAD.Match(data);
|
||||
if (ahead.Success) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue