]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: avoid "the_repository" in `cmd_repack()`
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:27:18 +0000 (18:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:52 +0000 (10:08 -0700)
commit20b4eeddce165f11d7c5bffb1ecb69017df4a05e
treeb4ee068f57ec3a5f9f36220f1f98911720df06a6
parent9fab7ec7ff80707e703f16636200be8bbde204ca
builtin/repack.c: avoid "the_repository" in `cmd_repack()`

Reduce builtin/repack.c's reliance on `the_repository` by using the
currently-UNUSED "repo" parameter within cmd_repack().

The following commits will continue to reduce the usage of
the_repository in other places within builtin/repack.c.

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