diff options
| author | Jonathan Tan <jonathantanmy@google.com> | 2016-10-14 10:37:58 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-10-14 12:07:57 -0700 |
| commit | d65fd424ad21adbc1ea11fcddae331698453d1e2 (patch) | |
| tree | 86ed9e84f68f8379fbe49c4d3da97def55cc31aa /builtin/commit.c | |
| parent | Sync with maint (diff) | |
| download | git-d65fd424ad21adbc1ea11fcddae331698453d1e2.tar.gz git-d65fd424ad21adbc1ea11fcddae331698453d1e2.zip | |
trailer: improve const correctness
Change "const char *" to "char *" in struct trailer_item and in the
return value of apply_command (since those strings are owned strings).
Change "struct conf_info *" to "const struct conf_info *" (since that
struct is not modified).
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
