Markus Heidelberg <markus.heidelberg@xxxxxx> writes: > Signed-off-by: Markus Heidelberg <markus.heidelberg@xxxxxx> > --- > > Differences to v1: > * dump stdout into a file and grep this > * use "test_must_fail grep" instead of "!git send-email" > I'm not sure about this. When should test_must_fail be used and when > is !command OK? Thanks. Generally, we protect "git" (i.e. what we write ourselves) with test_must_fail so that we can catch stupid segfaulting crash we introduce ourselves (unlike "! git foo", "test_must_fail git foo" says "oh, no, it did not correctly fail" if git segfaults). We do not expect "grep" to segfault (iow we are not testing "grep"), so it is customary to say "! grep". -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html