threads / discuss / 26995

windows Git.pm setting GIT_DIR?

Subject: windows Git.pm setting GIT_DIR?

## tl;dr

One message between Apr 5, 2011 and Apr 5, 2011.

replies: 0people: 1as markdown or json

Dylan Alex Simon· Apr 5, 2011, 18:00 UTC · lore

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.)

← back to recent threads