Re: [BUG] [PATCH]: run-command.c

2016-10-21 Thread Duncan Roe
On Fri, Oct 21, 2016 at 05:00:29AM -0400, Jeff King wrote: > On Fri, Oct 21, 2016 at 04:50:13PM +1100, Duncan Roe wrote: > > > For example, if .git/config has this alias (the sleep is to leave time to > > examine output from ps, &c.): > > > > [alias] >

[BUG] [PATCH]: run-command.c

2016-10-20 Thread Duncan Roe
prepare_shell_cmd() executes /bin/sh with superfluous arguments on all but single-word shell commands. For example, if .git/config has this alias (the sleep is to leave time to examine output from ps, &c.): [alias] tryme = "!echo $PWD;sleep 600" running "git tryme" in one console and che