]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/cat-file: rename variable that tracks usage
authorPatrick Steinhardt <ps@pks.im>
Wed, 2 Apr 2025 11:13:36 +0000 (13:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Apr 2025 21:43:49 +0000 (14:43 -0700)
commit84a1d0039a7d9974d4900d730ba7edeef31b8e43
tree5fc6f26b6a04cd47517df73d86e68c3b748b8ae7
parentcd8d2c4c29f9cb8eb96c4b801e3e911cdbbadd0c
builtin/cat-file: rename variable that tracks usage

The usage strings for git-cat-file(1) that we pass to `parse_options()`
and `usage_msg_optf()` are stored in a variable called `usage`. This
variable shadows the declaration of `usage()`, which we'll want to use
in a subsequent commit.

Rename the variable to `builtin_catfile_usage`, which is in line with
how the variable is typically called in other builtins.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c