Antoine Pelisse <apelisse@xxxxxxxxx> writes: > +test_expect_success 'check combined output (no ignore space)' ' > + git show >actual.tmp && > + sed -e "1,/^@@@/d" < actual.tmp >actual && > + tr -d Q <<-\EOF >expected && > + --always coalesce > + - eol space coalesce > + - space change coalesce > + - all spaces coalesce > + - eol spaces > + - space change > + - all spaces > + -eol space coalesce Q > + -space change coalesce > + -all spa ces coalesce > + + eol spaces Q > + + space change > + + all spa ces > + EOF > + compare_diff_patch expected actual > +' Nicely constructed ;-) Thanks. -- 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