Glen Choo <chooglen@xxxxxxxxxx> writes: > diff --git a/t/t5702-protocol-v2.sh b/t/t5702-protocol-v2.sh > index 710f33e2aa..1b9023d3f0 100755 > --- a/t/t5702-protocol-v2.sh > +++ b/t/t5702-protocol-v2.sh > @@ -628,6 +628,18 @@ test_expect_success 'usage: --negotiate-only without --negotiation-tip' ' > test_cmp err.expect err.actual > ' > > +test_expect_success 'usage: --negotiate-only with --recurse-submodules' ' > + cat >err.expect <<-\EOF && > + fatal: --negotiate-only and --recurse-submodules cannot be used together This also needs to be updated to match. I've fixed up locally.