Re: [PATCH v0 3/3] Bigfile: teach "git add" to send a large file straight to a pack
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 29, 2011, 20:29 UTC
- Message-ID
- <7v62otp7wq.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <BANLkTikB3VhB4nTZhjE+3znfVTuBYsnehg@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 9 quoted lines
> On Sun, May 8, 2011 at 10:47, Junio C Hamano <gitster@pobox.com> wrote:
>
>> + char buf[10240];
>> + size_t sz = size < sizeof(buf) ? size : sizeof(buf);
>> + size_t actual;
>> +
>> + actual = read_in_full(fd, buf, sz);
>> + if (actual < 0)
>> + die_errno("index-stream: reading input");It already has been fixed with 23c7df6 (sha1_file: use the correct type (ssize_t, not size_t) for read-style function, 2011-05-26).
Scanning the list and updating your copy of 'pu' from k.org would often save your time for topics that are relatively new.
Thanks.