trailer: improve const correctness
commitd65fd424ad21adbc1ea11fcddae331698453d1e2
authorJonathan Tan <jonathantanmy@google.com>
Fri, 14 Oct 2016 17:37:58 +0000 (14 10:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Oct 2016 19:07:57 +0000 (14 12:07 -0700)
tree86ed9e84f68f8379fbe49c4d3da97def55cc31aa
parent3cdd5d19178a54d2e51b5098d43b57571241d0ab
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>
trailer.c