projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684a93d
)
cmd_log_init: remove parsing of --encoding command line parameter
author
Jeff King
<peff@peff.net>
Wed, 16 May 2007 11:15:07 +0000
(07:15 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 9 Jun 2007 09:03:30 +0000
(
02:03
-0700)
This was moved to the setup_revisions parsing in
7cbcf4d5
, so it was
never being triggered.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c
patch
|
blob
|
history
diff --git
a/builtin-log.c
b/builtin-log.c
index 212cdfc769b58403a99155e321ea36f018061ea4..0aede7683986aff131f9278a968c84622c01181b 100644
(file)
--- 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;