Re: [PATCH] import-tars: properly import git-archive tarballs
- From
Peter Krefting <peter@softwolves.pp.se>
- Date
- Feb 18, 2010, 09:40 UTC
- Message-ID
- <alpine.DEB.2.00.1002181037340.11095@ds9.cixit.se>
- In-Reply-To
- <1266434452-14532-1-git-send-email-g2p.code@gmail.com>
Gabriel:
> git-archive adds a special entry to the archives it creates, > pax_global_header, containing the SHA1 of the exported commit.
Interesting use-case.
> Now import-tars correctly ignores the comment.
In the case where you actually would care, perhaps it should be added as a comment to the default commit message? Something like "Imported from $tar_file, created from commit $commit.".
-- \\// Peter - http://www.softwolves.pp.se/