Re: Two potential bugs in aliases that expand to shell commands

2013-04-03 Thread Jeff King
On Wed, Apr 03, 2013 at 07:05:33PM -0700, Han wrote: > There appears to be another case string values need to be enclosed in > quotes, which is a shell command where you want to preserve quote > characters (not leading or trailing); a minimal example is > > shortcut = !cd "" && pwd Yes. You mu

Two potential bugs in aliases that expand to shell commands

2013-04-03 Thread Han
These might just be documentation bugs. Aliases that expand to shell commands are only documented fairly superficially, but `git help config` does say: "If the alias expansion is prefixed with an exclamation point, it will be treated as a shell command." It also says, nearer the beginning: "Strin