Re: [PATCH v2] alias: use run_command api to execute aliases
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 6, 2011, 20:05 UTC
- Message-ID
- <20110106200518.GA14945@burratino>
- In-Reply-To
- <1294343649-6272-1-git-send-email-kusmabite@gmail.com>
Erik Faye-Lund wrote:
> --- a/git.c > +++ b/git.c > @@ -177,22 +177,22 @@ static int handle_alias(int *argcp, const char ***argv)
[...]
> + alias_argv = xmalloc(sizeof(char *) * argc + 1);
Missed a spot? (missing parens)
Thanks for this. It also should provide a minor speedup in the case of commands with no shell metacharacters.