mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00: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…
Add table
Add a link
Reference in a new issue