aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-date.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 /t/helper/test-date.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 't/helper/test-date.c')
-rw-r--r--t/helper/test-date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-date.c b/t/helper/test-date.c
index f25512de9a..87d2ad6fca 100644
--- a/t/helper/test-date.c
+++ b/t/helper/test-date.c
@@ -2,7 +2,7 @@
#include "date.h"
#include "trace.h"
-static const char *usage_msg = "\n"
+static const char *const usage_msg = "\n"
" test-tool date relative [time_t]...\n"
" test-tool date human [time_t]...\n"
" test-tool date show:<format> [time_t]...\n"