git/list[1] front-page[2] threads[3] people[4] search[5] about
 

windows Git.pm setting GIT_DIR?

From
DSDylan Alex Simon <dylan@dylex.net>
Date
Apr 5, 2011, 18:00 UTC
Message-ID
<20110405180043.GA10878@datura.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.)

Message 1 of 1 in “windows Git.pm setting GIT_DIR?”
  1. Dylan Alex SimonApr 5, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.