]> git.99rst.org Git - git.git/commit
remote-curl: simplify passing of push specs
authorRené Scharfe <redacted>
Wed, 15 Jul 2026 04:41:17 +0000 (06:41 +0200)
committerJunio C Hamano <redacted>
Wed, 15 Jul 2026 21:13:47 +0000 (14:13 -0700)
commitf749a83291681bd19ab8712e2a4e1c931bb8b241
treeca397c57dc87ff1a52be9a3fb4e68b9448ad1418
parent55526a18268bbc1ddaf8a6b7850c33d984eac9e9
remote-curl: simplify passing of push specs

The push specs are kept in a strvec, whose array is NULL-terminated.
Pass only that to the protocol handlers, which avoids dealing with item
counts and their conversions from size_t to int, slightly simplifying
the code.

Signed-off-by: René Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
remote-curl.c
git clone https://git.99rst.org/PROJECT