* Shawn Pearce <spearce@xxxxxxxxxxx> wrote: > Laziness. Git originally assumed it would only be used for smaller > source files written by humans. Its easier to write the code as a > single malloc'd buffer than to stream it. We'd like to fix it, but > its harder than it sounds. Today we copy the file into a buffer > before we deflate and compute the SHA-1 as this prevents us from > getting into a consistency error when the file is modified between > these two stages. hmm, perhaps copy it to a temporary file, if it's too large ? 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