diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-11-30 11:28:15 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-11-30 13:50:12 +0100 |
commit | f22ddca351c45edab9f71359765e34ae16205fa1 (patch) | |
tree | 4980a0eaf343a20fc4b0f9d988f0e41a19786032 /lib/git/diff.py | |
parent | bac518bfa621a6d07e3e4d9f9b481863a98db293 (diff) | |
download | gitpython-f22ddca351c45edab9f71359765e34ae16205fa1.tar.gz |
SymbolicReference.delete: Now takes SymbolicReference instances as well, not only paths
diff.__str__: fixed incorrect message generation error
Diffstat (limited to 'lib/git/diff.py')
-rw-r--r-- | lib/git/diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/diff.py b/lib/git/diff.py index 38430827..9b07b5ea 100644 --- a/lib/git/diff.py +++ b/lib/git/diff.py @@ -248,7 +248,7 @@ class Diff(object): h = "%s" if self.a_blob: h %= self.a_blob.path - if self.b_blob: + elif self.b_blob: h %= self.b_blob.path msg = '' |