* René Scharfe <rene.scharfe@xxxxxxxxxxxxxx> wrote: > > IIRC, a .pack file is useless without its corresponding .idx file. So > > the removal of a .pack file makes sense here - to me, at least. > > git-index-pack can rebuild the index for a pack file. Not sure if it > should be done automagically, but the file is not completely useless. ACK. packfiles are completely self-contained - the index files are only used for lookup and can be created any time (IMHO that's also done automatically on remote transfers). So removing a packfile, just because the index is missing, causes an serious data loss. That's what I'd consider a critical bug! The correct solution would be either recreating the index automatically or at least spit out an big-fat warning. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weigelt@xxxxxxxx mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html