summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-12-28 14:28:45 +0100
committerJunio C Hamano <gitster@pobox.com>2021-12-30 13:05:29 -0800
commit5a40417876c8ec97e1f367a1638a558ec010e3d8 (patch)
tree5c9090da3b2860a6dab057675b759bebdcc8c230 /commit.c
parent97fe7250753bae050b5d01c74ac0f38abb052845 (diff)
cat-file: move "usage" variable to cmd_cat_file()
There's no benefit to defining this at a distance, and it makes the code harder to read as you've got to scroll up to see the usage that corresponds to the options. In subsequent commits I'll make use of usage_msg_opt(), which will be quite noisy if I have to use the long "cat_file_usage" variable, there's no other command being defined in this file, so let's rename it to just "usage". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions