diff options
| author | Denton Liu <liu.denton@gmail.com> | 2019-11-19 16:51:13 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-11-20 13:33:36 +0900 |
| commit | 4982516451ed4979bc7fc1a7f002fc310b060118 (patch) | |
| tree | aad68030729a47275260b369ce139f2b92d47f3a /commit.h | |
| parent | completion: complete `tformat:` pretty format (diff) | |
| download | git-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.h')
0 files changed, 0 insertions, 0 deletions
