mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
cleanup<*>: run vs code cleanup to format codestyle and remove unused references
This commit is contained in:
parent
37559b60d4
commit
2cf7192ec4
41 changed files with 77 additions and 89 deletions
|
@ -101,7 +101,7 @@ namespace SourceGit.Models {
|
|||
/// </summary>
|
||||
/// <param name="commit"></param>
|
||||
public void NavigateTo(string commit) {
|
||||
Navigate?.Invoke(commit);
|
||||
Navigate?.Invoke(commit);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -140,7 +140,7 @@ namespace SourceGit.Models {
|
|||
repoWatcher.Renamed += OnRepositoryChanged;
|
||||
repoWatcher.Changed += OnRepositoryChanged;
|
||||
repoWatcher.Deleted += OnRepositoryChanged;
|
||||
repoWatcher.EnableRaisingEvents = true;
|
||||
repoWatcher.EnableRaisingEvents = true;
|
||||
|
||||
timer = new Timer(Tick, null, 100, 100);
|
||||
}
|
||||
|
@ -176,7 +176,7 @@ 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.StartsWith("refs\\heads\\", StringComparison.Ordinal) ||
|
||||
e.Name.StartsWith("refs\\heads\\", StringComparison.Ordinal) ||
|
||||
e.Name.StartsWith("refs\\remotes\\", StringComparison.Ordinal) ||
|
||||
e.Name.StartsWith("worktrees\\")) {
|
||||
updateBranch = DateTime.Now.AddSeconds(.5).ToFileTime();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue