diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-07-07 17:43:36 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-07-07 17:43:36 +0200 |
commit | ca288d443f4fc9d790eecb6e1cdf82b6cdd8dc0d (patch) | |
tree | 647089e9f091411c69ff4ee62747c53606671485 /lib/git/index/base.py | |
parent | a4287f65878000b42d11704692f9ea3734014b4c (diff) | |
parent | 01ab5b96e68657892695c99a93ef909165456689 (diff) | |
download | gitpython-ca288d443f4fc9d790eecb6e1cdf82b6cdd8dc0d.tar.gz |
Merge branch 'revparse'
Diffstat (limited to 'lib/git/index/base.py')
-rw-r--r-- | lib/git/index/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/index/base.py b/lib/git/index/base.py index 4b3197a2..0f02352f 100644 --- a/lib/git/index/base.py +++ b/lib/git/index/base.py @@ -1122,7 +1122,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): # item. Handle existing -R flags properly. Transform strings to the object # so that we can call diff on it if isinstance(other, basestring): - other = Object.new(self.repo, other) + other = self.repo.rev_parse(other) # END object conversion if isinstance(other, Object): |