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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx"
> +	EOF

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

-- Hannes
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]