Re: [PATCH] git submodule foreach: Skip eval for more than one argument
- From
Johan Herland <johan@herland.net>
- Date
- Mar 4, 2014, 14:53 UTC
- Message-ID
- <CALKQrgfC1Cf=ZnwhaDUz-2q=vLa0UbO4ONybvCPu7RiF+3sm3w@mail.gmail.com>
- In-Reply-To
- <20140304135106.GD11566@login.drsnuggles.stderr.nl>
On Tue, Mar 4, 2014 at 2:51 PM, Matthijs Kooijman <matthijs@stdin.nl> wrote:
> matthijs@grubby:~/test$ git submodule foreach echo '$name' > Entering 'test' > $name
jherland@beta ~/test$ echo '$name' $name
What would you expect echo '$name' to do? What happens if you use double instead of single quotes?
...Johan
-- Johan Herland, <johan@herland.net> www.herland.net