strbuf: add and use strbuf_add_uint()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | strbuf: add strbuf_add_uint()strbuf.c strbuf.h | +18 | 9 replies | |
| 2/4 | cat-file: use strbuf_add_uint()builtin/ | +2 | 1 reply | |
| 3/4 | ls-files: use strbuf_add_uint()builtin/ | +9 | 3 replies | |
| 4/4 | ls-tree: use strbuf_add_uint()builtin/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] strbuf: add and use strbuf_add_uint()
Add a function that does the same as strbuf_addf(sb, "%"PRIuMAX, value), only faster, and use it to speed up bulk reporting of size values a bit.
strbuf: add strbuf_add_uint()
cat-file: use strbuf_add_uint()
ls-files: use strbuf_add_uint()
ls-tree: use strbuf_add_uint()
builtin/cat-file.c | 4 ++-- builtin/ls-files.c | 15 +++++++++------ builtin/ls-tree.c | 15 +++++++++------ strbuf.c | 12 ++++++++++++ strbuf.h | 6 ++++++ 5 files changed, 38 insertions(+), 14 deletions(-)
Signature · 1 line
2.54.0