git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t: branch: improve test rollback

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Oct 31, 2013, 18:56 UTC
Message-ID
<CAMP44s07=XDh+Ny=NdDumXzG5Pe2UCg3KNYX7Hp8UbkLcL0Kpg@mail.gmail.com>
In-Reply-To
<xmqqsivh5l6a.fsf@gitster.dls.corp.google.com>
On Thu, Oct 31, 2013 at 12:50 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 27 quoted lines
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
>> On Thu, Oct 31, 2013 at 12:32 PM, Junio C Hamano <gitster@pobox.com> wrote:
>>> Felipe Contreras <felipe.contreras@gmail.com> writes:
>>
>>>> diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
>>>> index 0fe7647..33673e0 100755
>>>> --- a/t/t3200-branch.sh
>>>> +++ b/t/t3200-branch.sh
>>>> @@ -329,7 +329,7 @@ test_expect_success 'tracking setup fails on non-matching refspec' '
>>>>  '
>>>>
>>>>  test_expect_success 'test tracking setup via config' '
>>>> -     git config branch.autosetupmerge true &&
>>>> +     test_config branch.autosetupmerge true &&
>>>>       git config remote.local.url . &&
>>>>       git config remote.local.fetch refs/heads/*:refs/remotes/local/* &&
>>>
>>> And "remote.local.*" setting does not follow that "pristine"
>>> principle, making the result of applying this patch inconsistent.
>>> Is that desirable?
>>
>> This patch is *improving* test rollback, it's not making it perfect.
>>
>> Let not the perfect be the enemy of the good.
>
> The patch is making it worse by stopping in the middle.
Whatever.
-- 
Felipe Contreras
Previous: Junio C Hamano
Message 5 of 5 in “t: branch: improve test rollback”
  1. t: branch: improve test rollbackFelipe Contreras, Oct 31, 2013
  2. Junio C HamanoOct 31, 2013
  3. Felipe ContrerasOct 31, 2013
  4. Junio C HamanoOct 31, 2013
  5. Felipe ContrerasOct 31, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.