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

Re: [PATCH v2] bundle: remove unneeded code

From
Toon Claes <toon@iotcl.com>
Date
Dec 11, 2024, 20:53 UTC
Message-ID
<87y10mhrfe.fsf@iotcl.com>
In-Reply-To
<xmqqcyhyi7g7.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 27 quoted lines
> expecting success of 6020.17 'clone from full bundle upto annotated tag':
>         git clone --mirror v2.bdl tag-clone.git &&
>         git -C tag-clone.git show-ref |
>                 make_user_friendly_and_stable_output >actual &&
>         cat >expect <<-\EOF &&
>         <TAG-2> refs/tags/v2
>         EOF
>         false &&
>         test_cmp expect actual
>
> Cloning into bare repository 'tag-clone.git'...
> Receiving objects: 100% (35/35), done.
> Resolving deltas: 100% (6/6), done.
> not ok 17 - clone from full bundle upto annotated tag
> #
> #               git clone --mirror v2.bdl tag-clone.git &&
> #               git -C tag-clone.git show-ref |
> #                       make_user_friendly_and_stable_output >actual &&
> #               cat >expect <<-\EOF &&
> #               <TAG-2> refs/tags/v2
> #               EOF
> #               false &&
> #               test_cmp expect actual
> #
> 1..17
>
> What's the "false" doing here?

I'm terribly sorry, how sloppy of me. I added that during debugging to be able to inspect the t/trash* directory. This shouldn't have made it to the final patch. My apologies, I've submitted v3 which doesn't include that line.

-- Toon

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 7 in “bundle: remove unneeded code”
  1. bundle: remove unneeded codeToon Claes, Dec 11, 2024
  2. Junio C HamanoDec 11, 2024
  3. Toon ClaesDec 11, 2024
  4. Junio C HamanoDec 12, 2024
  5. bundle: remove unneeded codeToon Claes, Dec 11, 2024
  6. karthik nayakDec 12, 2024
  7. Junio C HamanoDec 13, 2024

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.