On Thu, 2011-07-14 at 19:48 +0200, Andreas Schwab wrote: > Jeff King <peff@xxxxxxxx> writes: > > > So you're probably stuck with extracting the results of "git archive" to > > a temporary directory and then using GNU tar to re-archive them (or if > > you have a checkout, you can just tar that up directly, feeding the list > > from "git ls-files" into tar). > > That would lose the embedded commit-id, though. > > Andreas. > You can pass the commit id this way. $ tar --pax-option "comment=$COMMIT" ... -- Sylvain Rabot <sylvain@xxxxxxxxxxxxxx>
Attachment:
signature.asc
Description: This is a digitally signed message part