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

Re: [msysGit] [PATCH] Git.pm: Make _temp_cache use the repository directory

From
CCClifford Caoile <piyo@users.sourceforge.net>
Date
Nov 12, 2008, 22:06 UTC
Message-ID
<1f748ec60811121406j7ac72c7eqcfbe68132b2ebfc0@mail.gmail.com>
In-Reply-To
<491AE80A.5060807@svanfeldt.com>
Hi Marten Svanfeldt:

On Wed, Nov 12, 2008 at 11:28 PM, Marten Svanfeldt (dev) <developer@svanfeldt.com> wrote:

Show 10 quoted lines
>
> Update the usage of File::Temp->tempfile to place the temporary files
> within the repository directory instead of just letting Perl decide what
> [snip]
> +
> +               my $tmpdir;
> +               if (defined $self) {
> +                       $tmpdir = $self->repo_path();
> +               }
> +

I suppose if I wanted to used ${workingdir}/.git instead of ${workingdir}, I should replace the $tmpdir line above with $tmpdir = $self->repo_path() . "/.git" ?

Best regards, Clifford Caoile

Previous: Marten Svanfeldt (dev)Next: Marten Svanfeldt (dev)
Message 2 of 3 in “Git.pm: Make _temp_cache use the repository directory”
  1. Git.pm: Make _temp_cache use the repository directoryMarten Svanfeldt (dev), Nov 12, 2008
  2. Clifford CaoileNov 12, 2008
  3. Marten Svanfeldt (dev)Nov 12, 2008

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.