Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-26

Re: [PATCH v2 2/3] help: introduce option --exclude-guides

From: Ralf Thielow <hidden>
Date: 2016-08-26 20:39:57

2016-08-26 22:20 GMT+02:00 Junio C Hamano [off-list ref]:
Because the whole thing is inside a double-quote pair, $() and $name
are all interpolated even before test_expect_success is called.
So the above becomes equivalent to
quoted
quoted
test_expect_success "two commits do not have the same ID" '
        git commit --allow-empty -m first &&
        one=5cb0d5ad05e027cbddcb0a3c7518ddeea0f7c286 &&
        test_tick &&
        git commit --allow-empty -m second &&
        two=5cb0d5ad05e027cbddcb0a3c7518ddeea0f7c286 &&
        test !=
'
I got it, thanks.  My understanding in when a part is being interpreted
was obviously very wrong.  Thanks again!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help