2 ms·
You can assume that git packfiles are immutable. They may disappear from under you as a repack happens, but they will not be changed. They even have a name lik
by avar 8y ago
You can assume that git packfiles are immutable. They may disappear from under you as a repack happens, but they will not be changed.
They even have a name like pack-<SHA-1>.pack where that <SHA-1> is a SHA-1 of the contents of the pack (minus the last 20 bytes, the checksum SHA-1 is also part of the pack itself).
- loeg 8y agoTrue for this workload, iff you assume the filesystem and/or media protects you from corruption (it probably doesn't). I would guess OP is commenting on mmap IO in general, rather than TFA's specific git use case.