Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Replace uses of strdup with xstrdup.
[gitweb.git]
/
builtin-tar-tree.c
diff --git
a/builtin-tar-tree.c
b/builtin-tar-tree.c
index 61a413590d74d0fb167d715aa754df1a8794c085..fa666f78c5b5e44617495abb2716eded8407626c 100644
(file)
--- a/
builtin-tar-tree.c
+++ b/
builtin-tar-tree.c
@@
-351,7
+351,7
@@
static int remote_tar(int argc, const char **argv)
usage(tar_tree_usage);
/* --remote=<repo> */
- url = strdup(argv[1]+9);
+ url =
x
strdup(argv[1]+9);
pid = git_connect(fd, url, exec);
if (pid < 0)
return 1;