[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using --no-name with pipes by default for reproducibility (a patch i
Re: Using --no-name with pipes by default for reproducibility (a patch included)
Mon, 02 Aug 2010 13:47:29 -0600
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:22.214.171.124) Gecko/20100713 Thunderbird/3.0.6
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 <file1 >file1.gz" would not record FILE1's time stamp.
Of course gzip could behave differently for pipes than for other kinds
of files, but it's problematic to make pipes special cases.
> The user suggests that --name is less useful than having the possibility
> of comparing checksums even when compressing a file
The user can employ "gzip -n" when compressing. That enables the
desired behavior, and it works now.