Ignore dev and inode
This commit is contained in:
parent
326864ecda
commit
11198aaf41
@ -1216,8 +1216,8 @@ def index_write(repo, index):
|
|||||||
f.write(e.ctime[1].to_bytes(4, "big"))
|
f.write(e.ctime[1].to_bytes(4, "big"))
|
||||||
f.write(e.mtime[0].to_bytes(4, "big"))
|
f.write(e.mtime[0].to_bytes(4, "big"))
|
||||||
f.write(e.mtime[1].to_bytes(4, "big"))
|
f.write(e.mtime[1].to_bytes(4, "big"))
|
||||||
f.write(e.dev.to_bytes(4, "big"))
|
f.write((0).to_bytes(4, "big"))
|
||||||
f.write(e.ino.to_bytes(4, "big"))
|
f.write((0).to_bytes(4, "big"))
|
||||||
|
|
||||||
mode = (e.mode_type << 12) | e.mode_perms
|
mode = (e.mode_type << 12) | e.mode_perms
|
||||||
f.write(mode.to_bytes(4, "big"))
|
f.write(mode.to_bytes(4, "big"))
|
||||||
|
Loading…
Reference in New Issue
Block a user