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 /remote.c | |
parent | Sync with maint (diff) | |
download | tgif-d65fd424ad21adbc1ea11fcddae331698453d1e2.tar.xz |
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 'remote.c')
0 files changed, 0 insertions, 0 deletions