diff options
author | James Bowes <jbowes@dangerouslyinc.com> | 2007-03-19 17:42:40 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-19 18:16:03 -0700 |
commit | 567fb65e251d946cee2b73a9b188231652fe663c (patch) | |
tree | 348b2eaa37c98527f3b817add17010fb82d05396 /builtin-log.c | |
parent | 5e08ecbff219dc68a13eb372b39030134e737c8a (diff) | |
download | git-567fb65e251d946cee2b73a9b188231652fe663c.tar.gz git-567fb65e251d946cee2b73a9b188231652fe663c.tar.xz |
Replace remaining instances of strdup with xstrdup.
Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-log.c')
-rw-r--r-- | builtin-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-log.c b/builtin-log.c index 865832c85..71df957ea 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -35,7 +35,7 @@ static void cmd_log_init(int argc, const char **argv, const char *prefix, if (!prefixcmp(arg, "--encoding=")) { arg += 11; if (strcmp(arg, "none")) - git_log_output_encoding = strdup(arg); + git_log_output_encoding = xstrdup(arg); else git_log_output_encoding = ""; } |