Re: [PATCH 9/9] git archive docs: document output non-stability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023-02-02 at 16:34:44, Junio C Hamano wrote:
> There shouldn't be cross platform differences to break bit-for-bit
> stability at least for "tar" format, as we do not rely on any
> external library.  Can we say the same for "zip"?  I thought we
> throw the blob at git_deflate_*() so the exact bitstream is up to
> the libz implementation?

That's also true.  There, we can't use gzip, so we do whatever libz
does.  For Zip, I believe we embed a local timestamp, so the output is
also dependent on the time zone.  I don't know enough about the Zip
format to say if there are any other things that may vary.
-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux