mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
optimize<Watcher>: do NOT listen changed event on .git/*_HEAD
This commit is contained in:
parent
259473626b
commit
13ab3d1eae
1 changed files with 0 additions and 1 deletions
|
@ -175,7 +175,6 @@ namespace SourceGit.Models {
|
|||
} else if (e.Name.StartsWith("refs\\stash", StringComparison.Ordinal)) {
|
||||
updateStashes = DateTime.Now.AddSeconds(.5).ToFileTime();
|
||||
} else if (e.Name.Equals("HEAD", StringComparison.Ordinal) ||
|
||||
e.Name.EndsWith("_HEAD", StringComparison.Ordinal) ||
|
||||
e.Name.StartsWith("refs\\heads\\", StringComparison.Ordinal) ||
|
||||
e.Name.StartsWith("refs\\remotes\\", StringComparison.Ordinal)) {
|
||||
updateBranch = DateTime.Now.AddSeconds(.5).ToFileTime();
|
||||
|
|
Loading…
Reference in a new issue