summaryrefslogtreecommitdiff
path: root/lib/git/diff.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-09 11:57:48 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-09 11:57:48 +0200
commit92a97480edcc0f0de787a752bf90feed0445dd39 (patch)
tree518c00ba9840a2d6f32ffa7a876d7efa98016a03 /lib/git/diff.py
parent2b7f5cb25e0e03e06ec506d31c001c172dd71ef6 (diff)
downloadgitpython-92a97480edcc0f0de787a752bf90feed0445dd39.tar.gz
Blob|Tree: renamed 'name' member to 'path', updated tests and changelog as it would make existing code incompatible in some places
Diffstat (limited to 'lib/git/diff.py')
-rw-r--r--lib/git/diff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/diff.py b/lib/git/diff.py
index 44f55602..db12f1e4 100644
--- a/lib/git/diff.py
+++ b/lib/git/diff.py
@@ -38,11 +38,11 @@ class Diff(object):
if not a_blob or re.search(r'^0{40}$', a_blob):
self.a_blob = None
else:
- self.a_blob = blob.Blob(repo, id=a_blob, mode=a_mode, name=a_path)
+ self.a_blob = blob.Blob(repo, id=a_blob, mode=a_mode, path=a_path)
if not b_blob or re.search(r'^0{40}$', b_blob):
self.b_blob = None
else:
- self.b_blob = blob.Blob(repo, id=b_blob, mode=b_mode, name=b_path)
+ self.b_blob = blob.Blob(repo, id=b_blob, mode=b_mode, path=b_path)
self.a_mode = a_mode
self.b_mode = b_mode