Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
mergetool: portability fix: don't assume true is in /bin
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index ed1c65e3095fbbbeab88976bbae358a9d76ad937..5b1bc2a895306157649e399d5bad9bb827935318 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-99,7
+99,7
@@
static int split_cmdline(char *cmdline, const char ***argv)
int src, dst, count = 0, size = 16;
char quoted = 0;
- *argv = malloc(sizeof(char*) * size);
+ *argv =
x
malloc(sizeof(char*) * size);
/* split alias_string */
(*argv)[count++] = cmdline;