Johannes Schindelin
fe5e428174
commit: widen the commit-buffer API to size_t
...
Continue the migration from `unsigned long` to `size_t`. The `size`
attribute of `struct commit_buffer` is fed either from
`odb_read_object()`'s return value (`size_t`, handled with
`cast_size_t_to_ulong()`) or from `strbuf.len` in
`fake_working_tree_commit()` (silently narrowed today). Widen the field
and a couple of function signatures together, drop the shim in
`repo_get_commit_buffer()`, and move the matching `unsigned long` locals
at the in-tree callers in commit.c (three sites), builtin/replace.c, and
builtin/stash.c (two sites). The remaining callers pass NULL or already
pass a size_t-compatible variable.
Assisted-by: Opus 4.7
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de >
2026-06-22 17:31:37 +02:00
..
2026-05-15 04:44:39 +09:00
2026-04-10 07:58:53 -07:00
2026-05-19 15:05:46 +09:00
2026-05-24 18:41:06 +09:00
2026-05-14 19:56:34 +09:00
2026-05-19 19:36:24 +09:00
2026-03-18 12:52:29 -07:00
2026-06-04 09:51:22 +02:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:25 +09:00
2026-04-29 21:46:03 +09:00
2026-03-26 12:47:17 -07:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-06-04 09:51:22 +02:00
2026-06-04 09:51:22 +02:00
2026-06-04 09:51:22 +02:00
2026-05-19 15:05:46 +09:00
2026-05-27 14:15:45 +09:00
2026-03-03 10:20:00 -08:00
2026-06-04 09:51:22 +02:00
2026-04-15 08:44:34 -07:00
2026-05-08 09:53:12 +09:00
2026-06-04 09:51:22 +02:00
2026-05-19 19:36:25 +09:00
2026-05-19 19:36:24 +09:00
2026-04-27 22:20:57 +09:00
2026-04-10 07:58:55 -07:00
2026-06-04 09:51:22 +02:00
2026-05-19 19:36:25 +09:00
2026-03-27 11:00:02 -07:00
2026-06-04 09:51:22 +02:00
2026-06-04 09:51:22 +02:00
2026-06-04 09:51:22 +02:00
2026-05-12 09:33:43 +09:00
2026-05-19 19:36:25 +09:00
2026-06-04 09:51:22 +02:00
2026-05-27 14:15:44 +09:00
2026-06-04 09:51:22 +02:00
2026-03-12 10:03:23 -07:00
2026-05-20 11:31:13 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 09:57:44 +09:00
2026-06-04 09:51:22 +02:00
2026-06-04 09:51:22 +02:00
2026-05-20 11:33:24 +09:00
2026-02-26 07:22:53 -08:00
2026-05-19 19:36:24 +09:00
2026-03-24 12:26:58 -07:00
2026-05-27 14:15:46 +09:00
2026-03-23 08:33:10 -07:00
2026-03-31 20:43:14 -07:00
2026-05-20 11:31:14 +09:00
2026-06-22 17:31:37 +02:00
2026-04-01 21:34:25 -07:00
2026-06-04 09:51:22 +02:00
2026-05-19 19:36:24 +09:00
2026-04-06 12:02:30 -07:00
2026-05-31 10:00:37 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 15:05:46 +09:00
2026-03-31 20:43:14 -07:00
2026-05-19 19:36:24 +09:00
2026-06-22 17:31:37 +02:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-06-04 09:51:22 +02:00
2026-06-04 09:51:22 +02:00
2026-06-04 09:51:22 +02:00
2026-05-27 14:15:46 +09:00
2026-05-05 16:34:08 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-05-06 09:48:28 +09:00
2026-04-10 07:58:53 -07:00