From: Sergey Organov Date: Wed, 03 May 2023 17:31:10 GMT Subject: Re: [PATCH] t4013: add expected failure for "log --patch --no-patch" Message-ID: <874jote2zl.fsf@osv.gnss.ru> In-Reply-To: Junio C Hamano writes: > Sergey Organov writes: > >> --patch followed by --no-patch is to be a no-op according to the "git >> log" manual page. > > I briefly wondered if it is a bug in the documentation. But it is > clear (at least to me) that "git log -p --stat --no-patch" wants to > show only "--stat", and when "git log -p --raw" shows both patch and > raw, I do not think of a reason why "git log -p --raw --no-patch" > should not behave similarly. > >> Add a test_expected_failure case for the issue. > > That is unsatisfactory, though. Can you back-burner it and send in > a fix with the same test flipping expect_failure to expect_success > instead? No problem from my side, but are you sure? - test_expect_failure []