mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-05-01 06:15:41 +08:00
fix: checking if current worktree file changed
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -807,7 +807,7 @@ namespace SourceGit.ViewModels
|
||||
{
|
||||
var o = old[idx];
|
||||
var c = cur[idx];
|
||||
if (o.Path.Equals(c.Path, StringComparison.Ordinal) || o.Index != c.Index || o.WorkTree != c.WorkTree)
|
||||
if (!o.Path.Equals(c.Path, StringComparison.Ordinal) || o.Index != c.Index || o.WorkTree != c.WorkTree)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user