[watcher] ignore files in .git/

This commit is contained in:
Hylke Bons 2011-03-13 22:26:01 +00:00
parent 1fb8974804
commit 53eca6e848

View file

@ -508,6 +508,9 @@ namespace SparkleLib {
private void OnFileActivity (object o, FileSystemEventArgs fse_args)
{
if (fse_args.Name.StartsWith (".git/"))
return;
WatcherChangeTypes wct = fse_args.ChangeType;
int number_of_changes = Status.Untracked.Count +