interpret-trailers: don't duplicate option strings

There's no need to do so; the argv strings will last until the end of the program. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Jun 13, 2016 at 01:39 UTC 7c4b169585ebe650783051c4b7a7b17de62836ad
1 file changed +1 -1
builtin/interpret-trailers.c
+1 -1
@@ -19,7 +19,7 @@ static const char * const git_interpret_trailers_usage[] = {
19 int cmd_interpret_trailers(int argc, const char **argv, const char *prefix)
20 {
21 int trim_empty = 0;
22 - struct string_list trailers = STRING_LIST_INIT_DUP;
22 + struct string_list trailers = STRING_LIST_INIT_NODUP;
23
24 struct option options[] = {
25 OPT_BOOL(0, "trim-empty", &trim_empty, N_("trim empty trailers")),