From: Junio C Hamano Date: Mon, 07 Jul 2014 17:05:40 GMT Subject: Re: [PATCH 00/14] Add submodule test harness Message-ID: In-Reply-To: <53B5C7AC.4040701@web.de> Jens Lehmann writes: > Junio, do you want me to resend 02/14 without the non-portable "echo -n" > or could you just squash the following diff in? Amended locally here already; thanks, both. > > -----8<---- > diff --git a/t/lib-submodule-update.sh b/t/lib-submodule-update.sh > index 24c9fd7..3584755 100755 > --- a/t/lib-submodule-update.sh > +++ b/t/lib-submodule-update.sh > @@ -304,7 +304,7 @@ test_submodule_switch () { > ( > cd submodule_update && > git branch -t add_sub1 origin/add_sub1 && > - echo -n >sub1 && > + >sub1 && > test_must_fail $command add_sub1 && > test_superproject_content origin/no_submodule && > test_must_be_empty sub1 > @@ -547,7 +547,7 @@ test_submodule_forced_switch () { > ( > cd submodule_update && > git branch -t add_sub1 origin/add_sub1 && > - echo -n >sub1 && > + >sub1 && > $command add_sub1 && > test_superproject_content origin/add_sub1 && > test_dir_is_empty sub1 > -- 2.0.1.458.gf680257.dirty