mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-21 18:35:00 +00:00
enhance: unstaged renamed file should use git restore --staged <path> <org_path>
instead of git restore --staged <path>
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
6620bd193e
commit
fa004ce31b
2 changed files with 5 additions and 1 deletions
|
@ -21,7 +21,7 @@ namespace SourceGit.Commands
|
|||
WorkingDirectory = repo;
|
||||
Context = repo;
|
||||
|
||||
StringBuilder builder = new StringBuilder();
|
||||
var builder = new StringBuilder();
|
||||
builder.Append("restore ");
|
||||
if (!string.IsNullOrEmpty(extra))
|
||||
builder.Append(extra).Append(" ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue