mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08: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