def __init__(self, monitor, refs_only): _BaseThread.__init__(self, monitor, refs_only) self._worktree = self._transform_path(core.abspath(git.getcwd())) self._worktree_watch = None self._git_dir = self._transform_path(core.abspath(git.git_path())) self._git_dir_watch = None self._stop_event_lock = Lock() self._stop_event = None
def __init__(self, monitor, refs_only): _BaseThread.__init__(self, monitor, refs_only) self._worktree = core.abspath(git.getcwd()) self._git_dir = git.git_path() self._lock = Lock() self._inotify_fd = None self._pipe_r = None self._pipe_w = None self._worktree_wds = set() self._worktree_wd_map = {} self._git_dir_wds = set() self._git_dir_wd_map = {} self._git_dir_wd = None