summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-02-14 06:50:00 +0100
committerJunio C Hamano <gitster@pobox.com>2008-02-15 14:11:28 -0800
commit8ca496e97d100195c9015f4da8ddaad693e91961 (patch)
treedf8eb940de5f434d5edef1071c554c62a45a4d5e /diff.c
parent588071112c7ca14a04d674e4f019572f0bb77326 (diff)
downloadgit-8ca496e97d100195c9015f4da8ddaad693e91961.tar.gz
diff.c: replace a 'strdup' with 'xstrdup'.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 2aaace890c..047310fc94 100644
--- a/diff.c
+++ b/diff.c
@@ -88,7 +88,7 @@ static int parse_lldiff_command(const char *var, const char *ep, const char *val
if (!value)
return config_error_nonbool(var);
- drv->cmd = strdup(value);
+ drv->cmd = xstrdup(value);
return 0;
}