Re: [RFC/PATCHv2 2/3] git-svn: Warn about changing default for --prefix in Git v2.0

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

 



On Wed, Oct 9, 2013 at 3:34 AM, Eric Sunshine <sunshine@xxxxxxxxxxxxxx> wrote:
> On Sat, Oct 5, 2013 at 7:30 PM, Johan Herland <johan@xxxxxxxxxxx> wrote:
>> diff --git a/t/t9117-git-svn-init-clone.sh b/t/t9117-git-svn-init-clone.sh
>> index b7ef9e2..1c8d049 100755
>> --- a/t/t9117-git-svn-init-clone.sh
>> +++ b/t/t9117-git-svn-init-clone.sh
>> @@ -52,4 +52,71 @@ test_expect_success 'clone to target directory with --stdlayout' '
>>         rm -rf target
>>         '
>>
>> +test_expect_success 'clone without -s/-T/-b/-t does not warn' '
>> +       test ! -d trunk &&
>> +       git svn clone "$svnrepo"/project/trunk 2>warning &&
>> +       test_must_fail grep -q prefix warning &&
>> +       rm -rf trunk &&
>> +       rm -f warning
>> +       '
>> +
>> +test_svn_configured_prefix () {
>> +       prefix=$1
>
> Did you want to maintain the &&-chain here?
>
>> +       cat >expect <<EOF
>
> And here?

Yes, will add && in both places. Thanks.

...Johan

-- 
Johan Herland, <johan@xxxxxxxxxxx>
www.herland.net
--
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]