Fix path issue

This commit is contained in:
Kovid Goyal 2013-05-14 21:43:33 +05:30 committed by Kim Silkebækken
parent 459370d71d
commit bb4bc52c8a
1 changed files with 1 additions and 1 deletions

View File

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