summaryrefslogtreecommitdiff
path: root/diff-delta.c
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-17 19:08:36 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-17 18:03:12 -0700
commit1e91d3faf6c6de7667603c9c81252161ee70d7b9 (patch)
tree57492f211b6a9eea916168a5837c722ec6b1a03f /diff-delta.c
parentreflog tests: add missing "git reflog exists" tests (diff)
downloadtgif-1e91d3faf6c6de7667603c9c81252161ee70d7b9.tar.xz
reflog: move "usage" variables and use macros
Move the "usage" variables in builtin/reflog.c to the top of the file, in preparation for later commits defining a common "reflog_usage" in terms of some of these strings, as was done in 8757b35d443 (commit-graph: define common usage with a macro, 2021-08-23). While we're at it let's make them "const char *const", as is the convention with these "usage" variables. The use of macros here is a bit odd, but in subsequent commits we'll make these use the same pattern as builtin/commit-graph.c uses since 8757b35d443 (commit-graph: define common usage with a macro, 2021-08-23). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-delta.c')
0 files changed, 0 insertions, 0 deletions