Remove obsolete comment

This commit is contained in:
Kovid Goyal 2013-06-14 13:45:13 +05:30
parent 14bec211aa
commit a03035dd0d
1 changed files with 0 additions and 5 deletions

View File

@ -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)