[repo] Not everything is file dumping
This commit is contained in:
parent
5e84a9cfe0
commit
0d867a8c30
|
@ -1040,7 +1040,13 @@ namespace SparkleLib {
|
|||
int.Parse (match.Groups [9].Value));
|
||||
|
||||
string [] entry_lines = log_entry.Split ("\n".ToCharArray ());
|
||||
int change_count = 0;
|
||||
|
||||
if (entry_lines.Length > 60) {
|
||||
|
||||
commit.IsFileDump = true;
|
||||
|
||||
} else {
|
||||
|
||||
foreach (string entry_line in entry_lines) {
|
||||
|
||||
if (entry_line.StartsWith (":")) {
|
||||
|
@ -1062,17 +1068,6 @@ namespace SparkleLib {
|
|||
|
||||
}
|
||||
|
||||
change_count++;
|
||||
|
||||
if (change_count > 50) {
|
||||
|
||||
commit.Added.Clear ();
|
||||
commit.Edited.Clear ();
|
||||
commit.Deleted.Clear ();
|
||||
|
||||
commit.IsFileDump = true;
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue