Re: [PATCH] t/: work around one-shot variable assignment with test_must_fail
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 21, 2010, 00:14 UTC
- Message-ID
- <20100721001402.GE4282@burratino>
- In-Reply-To
- <AANLkTik0gKFfDCmcLZnn4WFCFY3Lb5zRgrzKLAgD5qH6@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> We should have examples for both export and unset
What is unportable for “export” is the effect of exporting an unset variable. I am not even sure whether the return value is unportable, but it doesn’t matter; that is an example of a “Don’t” rather than a “Do it this way”.
See v1.5.6-rc0~61 (filter-branch: fix variable export logic, 2008-05-13) for an example.
> but the prose > should mention both IMO
Yes, thanks for putting this portability guide together.
Jonathan