From: Junio C Hamano Date: Sat, 18 Dec 2021 00:24:33 GMT Subject: Re: Fw: Curiosity Message-ID: In-Reply-To: <1X3gQ48NK5aBDHcpYMlxESRjqubcCBKJUQu2K0dBOnTyvsXCXXoGDBg2Ff4KarK6WsZnzN3HgqHGOlCKKdF-wtZQ5tHsoAcfit2CTXMWqh4=@protonmail.com> João Victor Bonfim writes: >> I suspect that for most algorithms and their implementations, this would >> >> not result in repeatable "recompressed" results. Thus the checked-out >> >> files might be different every time you checked them out. :( > > How or why? > > Sincere question. Two immediate things that come to my mind are lossy compression algorithms (jpeg pictures?) and compressors that do not necessarily produce bit-for-bit identical results (e.g. gzip by default embeds timestamp unless explicitly told not to from a command line option).