GitHub Hosted upstream 'Source0'
Andreas Schwab
schwab at redhat.com
Mon Feb 21 09:13:29 UTC 2011
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.
>> At least the gzip compressed tarballs from github contain a time stamp.
^^^^
> True, but git-archive doesn't do that by default.
I didn't say anything about git-archive.
Andreas.
--
Andreas Schwab, schwab at redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
More information about the devel
mailing list