mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 02:12:25 +08:00
enhance: clear updating workingcopy timer while calling MarkBranchesDirtyManually
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -84,6 +84,7 @@ namespace SourceGit.Models
|
||||
public void MarkBranchUpdated()
|
||||
{
|
||||
Interlocked.Exchange(ref _updateBranch, 0);
|
||||
Interlocked.Exchange(ref _updateWC, 0);
|
||||
}
|
||||
|
||||
public void MarkTagUpdated()
|
||||
|
||||
@@ -829,7 +829,7 @@ namespace SourceGit.ViewModels
|
||||
{
|
||||
var o = old[idx];
|
||||
var c = cur[idx];
|
||||
if (o.Path != c.Path || 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