global: mark usage strings and string tables const
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
683c54c999
commit
86eef3541e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user