feature: add an option to clean up ignored files when discard all changes in repo (#531)

This commit is contained in:
leo 2024-10-02 21:17:44 +08:00
parent a59600ce18
commit 4e57cd50cd
No known key found for this signature in database
12 changed files with 104 additions and 46 deletions

View file

@ -7,7 +7,6 @@ namespace SourceGit.ViewModels
public Models.Commit Commit
{
get;
private set;
}
public bool AutoStash
@ -49,7 +48,7 @@ namespace SourceGit.ViewModels
else
{
SetProgressDescription("Discard local changes ...");
Commands.Discard.All(_repo.FullPath);
Commands.Discard.All(_repo.FullPath, false);
}
}