ux: improve change list selection

This commit is contained in:
leo 2024-07-16 17:00:08 +08:00
parent 2f5f98770f
commit ef0c904e91
No known key found for this signature in database
5 changed files with 132 additions and 88 deletions

View file

@ -164,7 +164,7 @@ namespace SourceGit.Models
private void OnRepositoryChanged(object o, FileSystemEventArgs e)
{
if (string.IsNullOrEmpty(e.Name))
if (string.IsNullOrEmpty(e.Name) || e.Name.EndsWith(".lock", StringComparison.Ordinal))
return;
var name = e.Name.Replace("\\", "/");