• Junio C Hamano's avatar
    Merge branch 'jh/resize-convert-scratch-buffer' into next · 92a24b29
    Junio C Hamano authored
    When the "clean" filter can reduce the size of a huge file in the
    working tree down to a small "token" (a la Git LFS), there is no
    point in allocating a huge scratch area upfront, but the buffer is
    sized based on the original file size.  The convert mechanism now
    allocates very minimum and reallocates as it receives the output
    from the clean filter process.
    * jh/resize-convert-scratch-buffer:
      convert: avoid malloc of original file size
convert.c 47.9 KB