aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/pack-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-04-29 14:21:28 -0700
committerJunio C Hamano <gitster@pobox.com>2025-04-29 14:21:28 -0700
commit5a6de390d8a844bb9c6e192cd79ed6a33c1f5d14 (patch)
tree2dff2c6681a6f23514e7293de48bff670916eaeb /builtin/pack-objects.c
parentMerge branch 'as/typofix-in-env-h-header' (diff)
parentglobal: mark usage strings and string tables const (diff)
downloadgit-5a6de390d8a844bb9c6e192cd79ed6a33c1f5d14.tar.gz
git-5a6de390d8a844bb9c6e192cd79ed6a33c1f5d14.zip
Merge branch 'az/tighten-string-array-constness'
Code clean-up. * az/tighten-string-array-constness: global: mark usage strings and string tables const
Diffstat (limited to 'builtin/pack-objects.c')
-rw-r--r--builtin/pack-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
index 72ebe13fe0..8b33edc2ff 100644
--- a/builtin/pack-objects.c
+++ b/builtin/pack-objects.c
@@ -183,7 +183,7 @@ static inline void oe_set_delta_size(struct packing_data *pack,
#define SET_DELTA_CHILD(obj, val) oe_set_delta_child(&to_pack, obj, val)
#define SET_DELTA_SIBLING(obj, val) oe_set_delta_sibling(&to_pack, obj, val)
-static const char *pack_usage[] = {
+static const char *const pack_usage[] = {
N_("git pack-objects --stdout [<options>] [< <ref-list> | < <object-list>]"),
N_("git pack-objects [<options>] <base-name> [< <ref-list> | < <object-list>]"),
NULL