Using --no-name with pipes by default for reproducibility (a patch included)

2010-08-02 Thread Karel Klic
Hi, a Fedora user recently complained [1] about metadata (--name enabled by default) breaking checksums with no obvious advantage. $ echo "foo" | gzip | sha1sum; sleep 1; echo "foo" | gzip | sha1sum b1803d7287d7001ab13aa8ca598248b837f61944 - 3100bbc82e16778390147936310432407235f45e - While

Re: Using --no-name with pipes by default for reproducibility (a patch included)

2010-08-02 Thread Paul Eggert
On 08/02/10 02:39, Karel Klic wrote: > While --name might be useful when compressing a file, I think it should > not be enabled by default for pipes But the patch you proposed doesn't check for pipes. It disables saving time stamps when no file arguments are given. This would mean that "gzip fil