[watcher] ignore files in .git/
This commit is contained in:
parent
1fb8974804
commit
53eca6e848
|
@ -508,6 +508,9 @@ namespace SparkleLib {
|
||||||
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;
|
||||||
|
|
||||||
int number_of_changes = Status.Untracked.Count +
|
int number_of_changes = Status.Untracked.Count +
|
||||||
|
|
Loading…
Reference in a new issue