git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "git archive" seems to be broken wrt zip files
@ 2011-09-11  4:58 Linus Torvalds
  2011-09-11  6:22 ` Jeff King
  0 siblings, 1 reply; 7+ messages in thread
From: Linus Torvalds @ 2011-09-11  4:58 UTC (permalink / raw)
  To: Junio C Hamano, Git Mailing List

So I wouldn't ever have noticed on my own, but now that I've tried
github for the kernel, somebody else reported that the downloaded zip
file (seriously? the kernel as a zip file?) is corrupt.

And it doesn't really seem to be a github issue. I can re-create it
with a simple

   git archive --format=zip HEAD -o ../kernel.zip

on my kernel repository: the end result does not unzip correctly:

   mkdir temp-directory
   cd temp-directory
   unzip kernel.zip
   ...
     inflating: virt/kvm/iommu.c
     inflating: virt/kvm/irq_comm.c
     inflating: virt/kvm/kvm_main.c
   finishing deferred symbolic links:
     arch/microblaze/boot/dts/system.dts -> ../../platform/generic/system.dts
     drivers/scsi/aic94xx/aic94xx_reg.h -> /*^J * Aic94xx SAS/SATA
driver hardware registers definitions.[ rest of the file ]
   symlink error: File name too long

iow, for some reason that "drivers/scsi/aic94xx/aic94xx_reg.h" file
seems to have been encoded as a symlink.

Anybody seen this?

                          Linus

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-14  8:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-11  4:58 "git archive" seems to be broken wrt zip files Linus Torvalds
2011-09-11  6:22 ` Jeff King
2011-09-11  6:27   ` Jeff King
2011-09-11 13:14     ` Andreas Schwab
2011-09-11 15:38       ` René Scharfe
     [not found]       ` <CA+55aFxsaE5btVJmM_QaUMcDzBg4df-g8X7NknC6t9UM+oQATw@mail.gmail.com>
2011-09-14  6:55         ` Linus Torvalds
2011-09-14  8:32           ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).