Thread (7 messages) flat view 7 messages, 2 authors, 2020-08-17

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

From: Jonathan Tan <hidden>
Date: 2020-08-17 20:22:41

On Mon, Aug 17, 2020 at 3:49 PM Jonathan Tan [off-list ref] wrote:
quoted
+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 [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help