ssh: send/accept GIT_* env vars

Kacper Kornet kornet at camk.edu.pl
Wed May 4 16:13:27 CEST 2011


On Wed, May 04, 2011 at 03:51:18PM +0200, Artur Frysiak wrote:
> 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.

I'm not sure even about these variables. If I have some configuration in
remote .gitconfig, I would be surprised that it is overwritten by my
local environment.

-- 
  Kacper


More information about the pld-devel-en mailing list