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

Re: [PATCH v2] bundle: remove unneeded code

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 11, 2024, 15:07 UTC
Message-ID
<xmqqcyhyi7g7.fsf@gitster.g>
In-Reply-To
<20241211-fix-bundle-create-race-v2-1-6a18bd07edec@iotcl.com>
Toon Claes <toon@iotcl.com> writes:
> - No longer user the term "bottomless bundle" and use "full bundle" and
>   "incremental bundle" instead, because they are more commonly used.
Good.
> - To verify the full bundle created upto tag actually contains the tag
>   object, add a test to clone from the created bundle.
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?
Previous: Toon ClaesNext: Toon Claes
Message 2 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.