X-Git-Url: https://arthur.barton.de/gitweb/?p=bup.git;a=blobdiff_plain;f=cmd%2Findex-cmd.py;h=b131db990264b9079c2b41e1c2007d16075c01ff;hp=f5ab59252eb30bacf3c11381d1a8e9cf808e9788;hb=57aaebfd07e7f35aed2ebd44191669b1d9db49df;hpb=e059fb80731c631d364f4c56e7202ed16e98ad84 diff --git a/cmd/index-cmd.py b/cmd/index-cmd.py index f5ab592..b131db9 100755 --- a/cmd/index-cmd.py +++ b/cmd/index-cmd.py @@ -306,7 +306,7 @@ if opt['print'] or opt.status or opt.modified: else: line += b' ' if opt.hash: - line += hexlify(ent) + b' ' + line += hexlify(ent.sha) + b' ' if opt.long: line += b'%7s %7s ' % (oct(ent.mode), oct(ent.gitmode)) out.write(line + (name or b'./') + b'\n')