'Notifies all observers'

def notify(self):

    do_notify = False
    if self._force_notify:
        do_notify = True
    elif self._file_paths:
        proc = core.start_command([u'git', u'check-ignore', u'--verbose', u'--non-matching', u'-z', u'--stdin'])
        path_list = bchr(0).join((core.encode(path) for path in self._file_paths))
        (out, err) = proc.communicate(path_list)
        if proc.returncode:
            do_notify = True
        else:
            source_fields = out.split(bchr(0))[0:(-1):4]
            do_notify = (not all(source_fields))
    self._force_notify = False
    self._file_paths = set()
    if do_notify:
        self._monitor.files_changed.emit()
