diff options
author | Rick Copeland <rcopeland@geek.net> | 2010-09-08 14:02:18 -0400 |
---|---|---|
committer | Rick Copeland <rcopeland@geek.net> | 2010-09-08 14:02:18 -0400 |
commit | c4d5caa79e6d88bb3f98bfbefa3bfa039c7e157a (patch) | |
tree | f847d2bd2c8af56b0298f1739bea2ac56f7ad1e0 /lib/git/diff.py | |
parent | 394ed7006ee5dc8bddfd132b64001d5dfc0ffdd3 (diff) | |
download | gitpython-c4d5caa79e6d88bb3f98bfbefa3bfa039c7e157a.tar.gz |
replace old reference to Commit.sha with Commit.hexsha
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 788bf238..e1749adc 100644 --- a/lib/git/diff.py +++ b/lib/git/diff.py @@ -249,7 +249,7 @@ class Diff(object): ll = 0 # line length for b,n in zip((self.a_blob, self.b_blob), ('lhs', 'rhs')): if b: - l = "\n%s: %o | %s" % (n, b.mode, b.sha) + l = "\n%s: %o | %s" % (n, b.mode, b.hexsha) else: l = "\n%s: None" % n # END if blob is not None |