aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-11-19 16:51:13 -0800
committerJunio C Hamano <gitster@pobox.com>2019-11-20 13:33:36 +0900
commit4982516451ed4979bc7fc1a7f002fc310b060118 (patch)
treeaad68030729a47275260b369ce139f2b92d47f3a /commit-graph.c
parentcompletion: complete `tformat:` pretty format (diff)
downloadgit-4982516451ed4979bc7fc1a7f002fc310b060118.tar.gz
git-4982516451ed4979bc7fc1a7f002fc310b060118.zip
revision: make get_revision_mark() return const pointer
get_revision_mark() used to return a `char *`, even though all of the strings it was returning were string literals. Make get_revision_mark() return a `const char *` so that callers won't be tempted to modify the returned string. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions