mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
fix<QueryFileSizeChange>: bad order to query binary file size by revisions
This commit is contained in:
parent
d9e670b909
commit
ce02bb8ab6
1 changed files with 3 additions and 3 deletions
|
@ -34,11 +34,11 @@ namespace SourceGit.Commands {
|
|||
change.OldSize = new QuerySizeCmd(repo, orgPath, revisions[0]).Result();
|
||||
}
|
||||
} else {
|
||||
change.NewSize = new QuerySizeCmd(repo, path, revisions[0]).Result();
|
||||
change.NewSize = new QuerySizeCmd(repo, path, revisions[1]).Result();
|
||||
if (string.IsNullOrEmpty(orgPath)) {
|
||||
change.OldSize = new QuerySizeCmd(repo, path, revisions[1]).Result();
|
||||
change.OldSize = new QuerySizeCmd(repo, path, revisions[0]).Result();
|
||||
} else {
|
||||
change.OldSize = new QuerySizeCmd(repo, orgPath, revisions[1]).Result();
|
||||
change.OldSize = new QuerySizeCmd(repo, orgPath, revisions[0]).Result();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue