summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-06-07 08:38:54 +0200
committerJunio C Hamano <gitster@pobox.com>2024-06-07 10:30:53 -0700
commite463c5e8a0c306b62c25ff5856087ab32403158a (patch)
tree5925443709d87d37915600605e7f2598740d53f3 /commit-graph.c
parent8d3a7ce441422f4b48f14c19a1b3be4ba7bfd30f (diff)
parse-options: cast long name for OPTION_ALIAS
We assign the long name for OPTION_ALIAS options to a non-constant value field. We know that the variable will never be written to, but this will cause warnings once we enable `-Wwrite-strings`. Cast away the constness to be prepared for this change. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions