diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-04-01 10:28:18 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-01 10:28:18 -0700 |
| commit | 0a39ec283cadafeae5f542a26569e4cec6f36fae (patch) | |
| tree | c4f1b637486c01c3dd2da6eabafcb20b284d4fc1 /strbuf.c | |
| parent | 270e10ad6dda3379ea0da7efd11e4fbf2cd7a325 (diff) | |
| parent | 640657ffd06999ec1ec3b1d030b7f5aac6b7f57b (diff) | |
| download | git-0a39ec283cadafeae5f542a26569e4cec6f36fae.tar.xz | |
Merge branch 'vp/http-rate-limit-retries'
The HTTP transport learned to react to "429 Too Many Requests".
* vp/http-rate-limit-retries:
http: add support for HTTP 429 rate limit retries
strbuf_attach: fix call sites to pass correct alloc
strbuf: pass correct alloc to strbuf_attach() in strbuf_reencode()
Diffstat (limited to 'strbuf.c')
| -rw-r--r-- | strbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -168,7 +168,7 @@ int strbuf_reencode(struct strbuf *sb, const char *from, const char *to) if (!out) return -1; - strbuf_attach(sb, out, len, len); + strbuf_attach(sb, out, len, len + 1); return 0; } |
