]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: rename "struct generated_pack_data"
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:28:18 +0000 (18:28 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:54 +0000 (10:08 -0700)
commit2b72c1236725915b353b9740a27a32c107dfe3b0
tree451e11c94c1f97c1f8d719a269d8365b7baceaa7
parent7d1f4425889ea7f663ca30dd1d63591e52a628f6
builtin/repack.c: rename "struct generated_pack_data"

The name "generated_pack_data" is somewhat redundant, since the contents
of the struct *is* the data associated with the generated pack.

Rename the structure to just "generated_pack", resulting in less awkward
function names, like "generated_pack_has_ext()" which is preferable to
"generated_pack_data_has_ext()".

Rename a few related functions to align with the convention that
functions to do with a struct "S" should be prefixed with "S_".

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