From: Ralf Thielow Date: Fri, 26 Aug 2016 20:39:50 GMT Subject: Re: [PATCH v2 2/3] help: introduce option --exclude-guides Message-ID: In-Reply-To: 2016-08-26 22:20 GMT+02:00 Junio C Hamano : > > 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 > >>> 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!