Re: [PATCH 2/4] fast-export: improve speed by skipping blobs

2013-05-03 Thread Junio C Hamano
Felipe Contreras writes: > We don't care about blobs, or any object other than commits, but in > order to find the type of object, we are parsing the whole thing, which > is slow, specially in big repositories with lots of big files. > > There's no need for that, we can query the object informati

[PATCH 2/4] fast-export: improve speed by skipping blobs

2013-05-02 Thread Felipe Contreras
We don't care about blobs, or any object other than commits, but in order to find the type of object, we are parsing the whole thing, which is slow, specially in big repositories with lots of big files. There's no need for that, we can query the object information with sha1_object_info(); Before