[watcher] ignore files in .git/
This commit is contained in:
parent
1fb8974804
commit
53eca6e848
|
@ -507,6 +507,9 @@ namespace SparkleLib {
|
||||||
// Starts a timer when something changes
|
// Starts a timer when something changes
|
||||||
private void OnFileActivity (object o, FileSystemEventArgs fse_args)
|
private void OnFileActivity (object o, FileSystemEventArgs fse_args)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (fse_args.Name.StartsWith (".git/"))
|
||||||
|
return;
|
||||||
|
|
||||||
WatcherChangeTypes wct = fse_args.ChangeType;
|
WatcherChangeTypes wct = fse_args.ChangeType;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue