diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-12 11:16:52 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-12 11:16:52 +0100 |
commit | ede325d15ba9cba0e7fe9ee693085fd5db966629 (patch) | |
tree | b69b9cf2d2a52837aeb3f36163194f2ba00225ad /git/index/base.py | |
parent | 43e430d7fa5298f6db6b1649c1a77c208bacf2fc (diff) | |
download | gitpython-ede325d15ba9cba0e7fe9ee693085fd5db966629.tar.gz |
Removed all previously added invocations of os.path.realpath as it wasn't required afterall.
Turns out that the now removed `read_gitfile` functions applied os.path.realpath which caused
the issue described in #224.
Fixes #224
Diffstat (limited to 'git/index/base.py')
-rw-r--r-- | git/index/base.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/git/index/base.py b/git/index/base.py index c6e57f13..66fd5b1f 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -535,7 +535,6 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): if it is not within our git direcotory""" if not os.path.isabs(path): return path - path = os.path.realpath(path) relative_path = path.replace(self.repo.working_tree_dir + os.sep, "") if relative_path == path: raise ValueError("Absolute path %r is not in git repository at %r" % (path, self.repo.working_tree_dir)) |