summaryrefslogtreecommitdiff
path: root/diffcore-delta.c
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-12-28 14:28:45 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-30 13:05:29 -0800
commit5a40417876c8ec97e1f367a1638a558ec010e3d8 (patch)
tree5c9090da3b2860a6dab057675b759bebdcc8c230 /diffcore-delta.c
parentcat-file docs: fix SYNOPSIS and "-h" output (diff)
downloadtgif-5a40417876c8ec97e1f367a1638a558ec010e3d8.tar.xz
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 'diffcore-delta.c')
0 files changed, 0 insertions, 0 deletions