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

Re: [PATCH v2 3/3] fetch-pack: make packfile URIs work with transfer.fsckobjects

From
JTJonathan Tan <jonathantanmy@google.com>
Date
Aug 17, 2020, 20:22 UTC
Message-ID
<20200817202236.1703961-1-jonathantanmy@google.com>
In-Reply-To
<CAPig+cTv4JiLt+hCSy_RqmwUwu5btTjac6+cFH=ztWeHQgHEyw@mail.gmail.com>
Show 18 quoted lines
> On Mon, Aug 17, 2020 at 3:49 PM Jonathan Tan <jonathantanmy@google.com> wrote:
> > +test_expect_success 'packfile-uri with transfer.fsckobjects fails on bad object' '
> > +       P="$HTTPD_DOCUMENT_ROOT_PATH/http_parent" &&
> > +       rm -rf "$P" http_child log &&
> > +
> > +       git init "$P" &&
> > +       git -C "$P" config "uploadpack.allowsidebandall" "true" &&
> > +
> > +       cat >bogus-commit <<EOF &&
> > +tree $EMPTY_TREE
> > +author Bugs Bunny 1234567890 +0000
> > +committer Bugs Bunny <bugs@bun.ni> 1234567890 +0000
> > +
> > +This commit object intentionally broken
> > +EOF
> 
> The v2 cover letter says that this now uses <<-EOF so the here-doc
> body can be indented, but that doesn't seem to be the case.

Ah, good catch. I forgot to amend my commit. If Junio doesn't do it locally then I will send out a v3.

Previous: Eric SunshineNext: Jonathan Tan
Message 6 of 8 in “fetch-pack: make packfile URIs work with transfer.fsckobjects”
  1. fetch-pack: make packfile URIs work with transfer.fsckobjectsJonathan Tan, Aug 14, 2020
  2. Junio C HamanoAug 14, 2020
  3. 0/3 make packfile URIs work with transfer.fsckobjectsJonathan Tan, Aug 17, 2020
  4. 3/3 fetch-pack: make packfile URIs work with transfer.fsckobjectsJonathan Tan, Aug 17, 2020
  5. Eric SunshineAug 17, 2020
  6. Jonathan TanAug 17, 2020
  7. 2/3 fetch-pack: document only_packfile in get_pack()Jonathan Tan, Aug 17, 2020
  8. 1/3 (various): document from_promisor parameterJonathan Tan, Aug 17, 2020

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.