We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
reftable
1 parent 958097e commit 79f6eedCopy full SHA for 79f6eed
src/Models/Watcher.cs
@@ -302,6 +302,13 @@ private void HandleGitDirFileChanged(string name)
302
{
303
Interlocked.Exchange(ref _updateBranch, DateTime.Now.AddSeconds(.5).ToFileTime());
304
}
305
+ else if (name.StartsWith("reftable/", StringComparison.Ordinal))
306
+ {
307
+ var desired = DateTime.Now.AddSeconds(.5).ToFileTime();
308
+ Interlocked.Exchange(ref _updateBranch, desired);
309
+ Interlocked.Exchange(ref _updateTags, desired);
310
+ Interlocked.Exchange(ref _updateStashes, desired);
311
+ }
312
else if (name.StartsWith("objects/", StringComparison.Ordinal) || name.Equals("index", StringComparison.Ordinal))
313
314
Interlocked.Exchange(ref _updateWC, DateTime.Now.AddSeconds(1).ToFileTime());
0 commit comments