Skip to content

Commit c4d5caa

Browse files
author
Rick Copeland
committed
replace old reference to Commit.sha with Commit.hexsha
1 parent 394ed70 commit c4d5caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def __str__(self):
249249
ll = 0 # line length
250250
for b,n in zip((self.a_blob, self.b_blob), ('lhs', 'rhs')):
251251
if b:
252-
l = "\n%s: %o | %s" % (n, b.mode, b.sha)
252+
l = "\n%s: %o | %s" % (n, b.mode, b.hexsha)
253253
else:
254254
l = "\n%s: None" % n
255255
# END if blob is not None

0 commit comments

Comments
 (0)