From a03035dd0d3f5a6048aedfd7e04ba449c422ed64 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 14 Jun 2013 13:45:13 +0530 Subject: [PATCH] Remove obsolete comment --- powerline/lib/vcs/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/powerline/lib/vcs/__init__.py b/powerline/lib/vcs/__init__.py index 848543a7..8666f2bf 100644 --- a/powerline/lib/vcs/__init__.py +++ b/powerline/lib/vcs/__init__.py @@ -38,11 +38,6 @@ file_status_lock = Lock() def get_branch_name(directory, config_file, get_func): global branch_name_cache with branch_lock: - # Check if the repo directory was moved/deleted - # We cannot use the file_watcher for this as the inotify based file - # watcher will mark a directory as changed if any files inside it have - # changed, this is a big performance hit in vim, which continuously - # changes files inside the repo dir (backup/swap files, for instance). # Check if the repo directory was moved/deleted fw = file_watcher() is_watched = fw.is_watched(directory)