diff options
| author | René Scharfe <l.s.r@web.de> | 2020-02-04 22:16:10 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-02-05 10:24:15 -0800 |
| commit | 36d2419c9a1b38f6883318f2af9b704d5d78356f (patch) | |
| tree | 5129389200763416955770f746e3be23a8f3cc19 /commit.c | |
| parent | name-rev: remove unused typedef (diff) | |
| download | git-36d2419c9a1b38f6883318f2af9b704d5d78356f.tar.gz git-36d2419c9a1b38f6883318f2af9b704d5d78356f.zip | |
name-rev: respect const qualifier
Keep the const qualifier of the first parameter of get_rev_name() even
when casting the object pointer to a commit pointer, and further for the
parameter of get_commit_rev_name(), as all these uses are read-only.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
