mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
fix<Diff>: getting wrong size for LFS objects when the size of file didn't changed
This commit is contained in:
parent
19bccbecf6
commit
c14198a830
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue