Re: jn/apply-filename-with-sp (Re: What's cooking in git.git (Aug 2010, #02; Wed, 11))
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 15, 2010, 00:05 UTC
- Message-ID
- <20100815000500.GA12612@burratino>
- In-Reply-To
- <201008142037.50833.j6t@kdbg.org>
Johannes Sixt wrote:
> On Samstag, 14. August 2010, Jonathan Nieder wrote:
Show 11 quoted lines
>> @@ -20,6 +20,44 @@ test_expect_success 'setup: clean-up functions' '
>> reset_subdirs() {
>> rm -fr a b &&
>> mkdir a b
>> + } &&
>> +
>> + cat <<-\EOF >expand.sed &&
> ...
>
> Why not just write an explicit test vector? The result of expand will be
> constant, no?Yes, you’re right. That’s the best way to go (especially since future versions of GNU diff might handle special characters differently).