X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fbup%2Findex.py;h=a570784da81c5c2a7e6b30cb2922fe30975d40e7;hb=c4bb97b7a4e25eb245c85963035344b67f50854b;hp=44e26ffb717e061185407414fe7112676cdbf0b4;hpb=91032b52b8fe9d3454a94ebb89c3af5500928d00;p=bup.git diff --git a/lib/bup/index.py b/lib/bup/index.py index 44e26ff..a570784 100644 --- a/lib/bup/index.py +++ b/lib/bup/index.py @@ -8,7 +8,7 @@ from bup.helpers import (add_error, log, merge_iter, mmap_readwrite, EMPTY_SHA = '\0'*20 FAKE_SHA = '\x01'*20 -INDEX_HDR = 'BUPI\0\0\0\6' +INDEX_HDR = 'BUPI\0\0\0\7' # Time values are handled as integer nanoseconds since the epoch in # memory, but are written as xstat/metadata timespecs. This behavior @@ -29,7 +29,7 @@ INDEX_SIG = ('!' 'I' # gitmode '20s' # sha 'H' # flags - 'I' # children_ofs + 'Q' # children_ofs 'I' # children_n 'Q') # meta_ofs