From 66688334375adbc469419692a16857f3cda01a21 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Wed, 16 May 2007 07:15:07 -0400 Subject: [PATCH] cmd_log_init: remove parsing of --encoding command line parameter This was moved to the setup_revisions parsing in 7cbcf4d5, so it was never being triggered. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- builtin-log.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/builtin-log.c b/builtin-log.c index 212cdfc76..0aede7683 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -60,13 +60,7 @@ static void cmd_log_init(int argc, const char **argv, const char *prefix, rev->always_show_header = 0; for (i = 1; i < argc; i++) { const char *arg = argv[i]; - if (!prefixcmp(arg, "--encoding=")) { - arg += 11; - if (strcmp(arg, "none")) - git_log_output_encoding = xstrdup(arg); - else - git_log_output_encoding = ""; - } else if (!strcmp(arg, "--decorate")) { + if (!strcmp(arg, "--decorate")) { if (!decorate) for_each_ref(add_ref_decoration, NULL); decorate = 1; -- 2.26.2