Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Toon Claes <toon@iotcl.com>
Cc: Elia Pinto <gitter.spiros@gmail.com>,
	 git@vger.kernel.org,  Patrick Steinhardt <ps@pks.im>,
	 Johannes Schindelin <Johannes.Schindelin@gmx.de>,
	Jeff King <peff@peff.net>,  Karthik Nayak <karthik.188@gmail.com>,
	 Shuqi Liang <cheskaqiqi@gmail.com>
Subject: Re: [PATCH v3 3/4] convert: use size_t for buffer sizes
Date: Wed, 25 Nov 2026 09:39:16 -0800	[thread overview]
Message-ID: <xmqq5wxk7quz.fsf@gitster.g> (raw)
In-Reply-To: <87qzg9rqmh.fsf@dev.null.iotcl.com.invalid> (Toon Claes's message of "Wed, 25 Nov 2026 14:24:06 +0100")

Toon Claes <toon@iotcl.com> writes:

> Elia Pinto <gitter.spiros@gmail.com> writes:
>
>> Use size_t for all of them.
>
> I checked that read_blob_data_from_index() has no other callers than
> the three converted here, and that read_attr_from_buf() already takes
> a size_t. With Christian's wording tweak, this one looks good to me.

Thanks for reviewing.  We are getting closer to the finish line and
v4 would be a small (and hopefully final) update?


  reply	other threads:[~2026-11-25 17:39 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 10:16 [PATCH 0/3] use size_t for a few more object and buffer sizes Elia Pinto
2026-10-21 10:16 ` [PATCH 1/3] odb: use size_t for the length of objects to write Elia Pinto
2026-10-21 11:24   ` Patrick Steinhardt
2026-10-21 10:16 ` [PATCH 2/3] diff: use size_t for the allocation size of word-diff buffers Elia Pinto
2026-10-21 11:24   ` Patrick Steinhardt
2026-10-21 10:16 ` [PATCH 3/3] convert: use size_t for buffer sizes Elia Pinto
2026-10-21 11:24   ` Patrick Steinhardt
2026-10-30  9:58 ` [PATCH v2 0/4] use size_t for a few more object and " Elia Pinto
2026-10-30  9:58   ` [PATCH v2 1/4] odb: use size_t for the length of objects to write Elia Pinto
2026-10-30 11:44     ` Patrick Steinhardt
2026-10-31 10:16       ` Elia Pinto
2026-10-30  9:58   ` [PATCH v2 2/4] diff: use size_t for the allocation size of word-diff buffers Elia Pinto
2026-10-30  9:58   ` [PATCH v2 3/4] convert: use size_t for buffer sizes Elia Pinto
2026-10-30  9:58   ` [PATCH v2 4/4] convert: use size_t for text statistics and ident counts Elia Pinto
2026-10-30 11:44     ` Patrick Steinhardt
2026-10-31 10:16       ` Elia Pinto
2026-11-02 11:09         ` Patrick Steinhardt
2026-11-02 20:16           ` Junio C Hamano
2026-11-03  6:59             ` Patrick Steinhardt
2026-10-31 10:16   ` [PATCH v3 0/4] use size_t for a few more object and buffer sizes Elia Pinto
2026-10-31 10:16     ` [PATCH v3 1/4] odb: use size_t for the length of objects to write Elia Pinto
2026-11-23 11:39       ` Christian Couder
2026-10-31 10:16     ` [PATCH v3 2/4] diff: use size_t for the allocation size of word-diff buffers Elia Pinto
2026-11-23 11:40       ` Christian Couder
2026-11-24 17:02       ` Phillip Wood
2026-10-31 10:16     ` [PATCH v3 3/4] convert: use size_t for buffer sizes Elia Pinto
2026-11-23 11:40       ` Christian Couder
2026-11-25 13:24       ` Toon Claes
2026-11-25 17:39         ` Junio C Hamano [this message]
2026-10-31 10:16     ` [PATCH v3 4/4] convert: use size_t for text statistics and ident counts Elia Pinto
2026-11-23 11:41       ` Christian Couder
2026-11-19  7:12     ` [PATCH v3 0/4] use size_t for a few more object and buffer sizes Elia Pinto
2026-11-23 11:48       ` Christian Couder
2026-11-23 19:34         ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqq5wxk7quz.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=cheskaqiqi@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitter.spiros@gmail.com \
    --cc=karthik.188@gmail.com \
    --cc=peff@peff.net \
    --cc=ps@pks.im \
    --cc=toon@iotcl.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox