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

From: Johannes Sixt <[email-masked]>
Date: Sun, 11 Mar 2012 21:30:08 +0100

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" = "[email-masked]"
> +	EOF

Please insert #!/bin/sh as the first line of the script. We'll need it
on Windows.

-- Hannes