On Tue, 1 May 2018 15:22:20 -0700 Jonathan Tan <jonathantanmy@xxxxxxxxxx> wrote: > +test_expect_success 'unexpected lines are not allowed in fetch request' ' > + git init server && > + > + # Custom request that tries to filter even though it is not advertised. Oops...I saw this copy-and-paste error right after I sent the e-mails. I'll remove this in the next reroll (if there is one). > + test-pkt-line pack >in <<-EOF && > + command=fetch > + 0001 > + this-is-not-a-command > + 0000 > + EOF > + > + test_must_fail git -C server serve --stateless-rpc <in >/dev/null 2>err && > + grep "unexpected line: .this-is-not-a-command." err > +'