Thread (581 messages) flat view 581 messages, 16 authors, 2021-10-12

Re: [PATCH v8 06/37] hook: implement hookcmd.<name>.skip

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2021-03-12 08:50:59

On Thu, Mar 11 2021, Emily Shaffer wrote:
+	cat >expected <<-EOF &&
+	no commands configured for hook '\''pre-commit'\''
+	EOF
+
+	git hook list pre-commit >actual &&
+	test_i18ncmp expected actual
+'
+
+test_expect_success 'git hook list ignores skip referring to unused hookcmd' '
+	test_config hookcmd.abc.command "/path/abc" --add &&
+	test_config hookcmd.abc.skip "true" --add &&
+
+	cat >expected <<-EOF &&
+	no commands configured for hook '\''pre-commit'\''
ditto on the "echo" comment in a previous mail, looks like we can avoid
both of these entirely.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help