mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
refactor: code cleanup
This commit is contained in:
parent
04f4293421
commit
fa3a3b2dad
25 changed files with 174 additions and 233 deletions
|
@ -24,9 +24,9 @@ namespace SourceGit.ViewModels
|
|||
});
|
||||
}
|
||||
|
||||
public void Remove(object param)
|
||||
public void Remove(string file)
|
||||
{
|
||||
if (param is string file)
|
||||
if (!string.IsNullOrEmpty(file))
|
||||
{
|
||||
new Commands.AssumeUnchanged(_repo).Remove(file);
|
||||
Files.Remove(file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue