# windows Git.pm setting GIT_DIR?

1 messages from 2011-04-05 to 2011-04-05. Participants: Dylan Alex Simon.
Thread: https://gitlist.dev/t/26995

## Dylan Alex Simon, 2011-04-05 18:00

Subject: windows Git.pm setting GIT_DIR?
Message-ID: <20110405180043.GA10878@datura.dylex.net>
URL: https://gitlist.dev/e/20110405180043.GA10878%40datura.dylex.net

```
We are attempting to make a perl application using Git.pm run on windows.  One
of the things we do is initialize 

        Git->repository(Directory => $some_other_directory);

This works fine on unix, but on windows the $some_other_directory seems to be
ignored.  This seems to be because _cmd_exec or its equivalent to set GIT_DIR
and chdir does not exist in the windows code-path in _command_common_pipe.  Am
I missing something that should make this work, or is this just not supported?
(Sorry, I know little about windows and trying to interpret problems others
are having.)

```
