mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
fix(Diff): fixup diff unstaged/staged file error
This commit is contained in:
parent
9b452bef8b
commit
8719a7c935
1 changed files with 4 additions and 1 deletions
|
@ -57,7 +57,10 @@ namespace SourceGit.UI {
|
|||
Task.Run(() => {
|
||||
var args = $"{opts.ExtraArgs} ";
|
||||
if (opts.RevisionRange.Length > 0) args += $"{opts.RevisionRange[0]} ";
|
||||
if (opts.RevisionRange.Length > 1) args += $"{opts.RevisionRange[1]} -- ";
|
||||
if (opts.RevisionRange.Length > 1) args += $"{opts.RevisionRange[1]} ";
|
||||
|
||||
args += "-- ";
|
||||
|
||||
if (!string.IsNullOrEmpty(opts.OrgPath)) args += $"\"{opts.OrgPath}\" ";
|
||||
args += $"\"{opts.Path}\"";
|
||||
|
||||
|
|
Loading…
Reference in a new issue