ssh: send/accept GIT_* env vars

Artur Frysiak wiget at pld-linux.org
Wed May 4 15:51:18 CEST 2011


2011/5/4 Kacper Kornet <kornet at camk.edu.pl>:
> On Wed, May 04, 2011 at 03:25:07PM +0200, Artur Frysiak wrote:
>> Kacper, can you provide more information? Which GIT_* variable is a
>> problem for gitolite?
>
> It is GIT_DIR. The problem is that git clone sets GIT_DIR variable.
> Therefore remote git init fails during creation of wildcard repository
> in this case.

I think Send/AcceptEnv GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL instead of GIT_* should be
enough. I see no use case for setting other GIT_*  for "remote" host.

-- 
Artur Frysiak


More information about the pld-devel-en mailing list