]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: rename various pack_geometry functions
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:28:38 +0000 (18:28 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:55 +0000 (10:08 -0700)
commite05c2d55668dcaa6a912372d93fb8f82d418d390
tree28b2cc5fb900365a4439b86fcf49f2d8cee232bf
parent29e935515d1b49fa08b2781371625e5c55d2bf13
builtin/repack.c: rename various pack_geometry functions

Rename functions which work with 'struct pack_geometry' to begin with
"pack_geometry_". While we're at it, change `free_pack_geometry()` to
instead be named `pack_geometry_release()` to match our conventions, and
make clear that that function frees the contents of the struct, not the
memory allocated to hold the struct itself.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c