mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
fix<Repository>: -r
is needed when remove a path from git
This commit is contained in:
parent
3edb8bf2dd
commit
6356520e94
1 changed files with 1 additions and 1 deletions
|
@ -985,7 +985,7 @@ namespace SourceGit.Git {
|
||||||
if (errs != null) {
|
if (errs != null) {
|
||||||
App.RaiseError(errs);
|
App.RaiseError(errs);
|
||||||
} else {
|
} else {
|
||||||
errs = RunCommand($"rm -f {path}", null);
|
errs = RunCommand($"rm -rf {path}", null);
|
||||||
if (errs != null) App.RaiseError(errs);
|
if (errs != null) App.RaiseError(errs);
|
||||||
|
|
||||||
OnWorkingCopyChanged?.Invoke();
|
OnWorkingCopyChanged?.Invoke();
|
||||||
|
|
Loading…
Reference in a new issue