mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 08:14:41 +02:00
Remove obsolete comment
This commit is contained in:
parent
14bec211aa
commit
a03035dd0d
@ -38,11 +38,6 @@ file_status_lock = Lock()
|
|||||||
def get_branch_name(directory, config_file, get_func):
|
def get_branch_name(directory, config_file, get_func):
|
||||||
global branch_name_cache
|
global branch_name_cache
|
||||||
with branch_lock:
|
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
|
# Check if the repo directory was moved/deleted
|
||||||
fw = file_watcher()
|
fw = file_watcher()
|
||||||
is_watched = fw.is_watched(directory)
|
is_watched = fw.is_watched(directory)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user