Thread (9 messages) 9 messages, 3 authors, 2016-06-15

Re: [PATCH] git submodule foreach: Skip eval for more than one argument

flat view

From: Johan Herland <hidden>
Date: 2016-06-15 23:00:11

On Tue, Mar 4, 2014 at 2:51 PM, Matthijs Kooijman [off-list ref] 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, [off-list ref]
www.herland.net
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help