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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2016-08-26 22:20 GMT+02:00 Junio C Hamano <gitster@xxxxxxxxx>:
>
> 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!
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]