GitHub Hosted upstream 'Source0'
Ville Skyttä
ville.skytta at iki.fi
Mon Feb 21 20:29:59 UTC 2011
On 02/21/2011 11:13 AM, Andreas Schwab wrote:
> Stanislav Ochotnicky <sochotnicky at redhat.com> writes:
>
>> On 02/16/2011 04:58 PM, Andreas Schwab wrote:
>>> That does not mean that the compressed contents will always be the same.
>>
>> $ git clone -q git://github.com/sonatype/sisu
>
> $ GIT_DIR=sisu/.git git archive --prefix="sonatype-sisu-1.4.3.2/" --format=tar sisu-1.4.3.2 | gzip > tarball1.tar.gz
> $ GIT_DIR=sisu/.git git archive --prefix="sonatype-sisu-1.4.3.2/" --format=tar sisu-1.4.3.2 | gzip > tarball2.tar.gz
> $ md5sum tarball*
> 94101d5c44539875f09db8487b900abc tarball1.tar.gz
> e87037cc65b3ff602675b84a23548299 tarball2.tar.gz
>
> q.e.d.
FWIW, s/gzip/gzip -n/ and they'll match.
More information about the devel
mailing list