mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
Fix path issue
This commit is contained in:
parent
459370d71d
commit
bb4bc52c8a
@ -37,7 +37,7 @@ def do_status(directory, path, func):
|
||||
raw = f.read().partition(b':')[2].strip()
|
||||
gitd = os.path.abspath(os.path.join(directory, raw))
|
||||
return get_file_status(directory, os.path.join(gitd, 'index'),
|
||||
path, '.gitignore', func, extra_ignore_files=(os.path.join(gitd, '.git/info/exclude'),))
|
||||
path, '.gitignore', func, extra_ignore_files=(os.path.join(gitd, 'info/exclude'),))
|
||||
return func(directory, path)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user