Re: [RFC PATCH v2 2/2] push: support pushing to a remote group
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 19, 2026, 17:02 UTC
- Message-ID
- <xmqqzf43lplf.fsf@gitster.g>
- In-Reply-To
- <20260318204028.1010487-3-usmanakinyemi202@gmail.com>
Usman Akinyemi <usmanakinyemi202@gmail.com> writes:
> + for (int i = 0; i < remote_group.nr; i++) {remote_group.nr is of size_t, so the compiler will complain about this comparison that stops a platform natural integer approaching the limit from below for type and signedness mismatch, even though it would be insane to try defining a remote group whose size would not fit platform natural integer. A workaround is obvious.
"int i = 0" -> "size_t i = 0"