Re: [PATCH] Set GIT_TEMPLATE_DIR in the testsuite, like it's done in git

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

 



Pavel Roskin, Sun, Sep 09, 2007 07:25:59 +0200:
> Otherwise, the git configuration affects the testsuite.  Since we don't
> have any git templates in the source tree, use stgit templates.  Neither
> are really needed for the tests.
> 
> Comment out the command that moves .git/hooks away, as it's not created

You _removed_ the command. Besides, it is created.

> anymore.  Create empty .git/info/exclude, it's needed.
> 
> Signed-off-by: Pavel Roskin <proski@xxxxxxx>
> ---
> 
>  t/test-lib.sh |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> 
> diff --git a/t/test-lib.sh b/t/test-lib.sh
> index 4bb00fb..68d6200 100644
> --- a/t/test-lib.sh
> +++ b/t/test-lib.sh
> @@ -228,7 +228,8 @@ test_create_repo () {
>  	cd "$repo" || error "Cannot setup test environment"
>  	git-init >/dev/null 2>&1 ||
>  	error "cannot run git-init -- have you installed git-core?"
> -	mv .git/hooks .git/hooks-disabled

Why's that? The hooks were disabled for a reason (namely on cygwin
everyone and their dog is executable)

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

  Powered by Linux