mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
fix<Diff>: getting wrong size for LFS objects when the size of file didn't changed
This commit is contained in:
@@ -295,6 +295,8 @@ namespace SourceGit.Git {
|
||||
} else if (line.StartsWith("size ")) {
|
||||
rc.New.Size = int.Parse(line.Substring(5));
|
||||
}
|
||||
} else if (line.StartsWith(" size ")) {
|
||||
rc.New.Size = rc.Old.Size = int.Parse(line.Substring(6));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user