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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 17, 2020 at 3:49 PM Jonathan Tan <jonathantanmy@xxxxxxxxxx> 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@xxxxxx> 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.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux