Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH 1/(3/4)] test: does pre-commit-hook learn authorship?

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:53:16

Possibly related (same subject, not in this thread)

Am 11.03.2012 12:08, schrieb Junio C Hamano:
+test_expect_failure 'check the author in hook' '
+	cat >"$HOOK" <<-\EOF &&
+	test "$GIT_AUTHOR_NAME" = "New Author" &&
+	test "$GIT_AUTHOR_EMAIL" = "newauthor@example.com"
+	EOF
Please insert #!/bin/sh as the first line of the script. We'll need it
on Windows.

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help