Re: [msysGit] [PATCH] Git.pm: Make _temp_cache use the repository directory
- From
- Clifford 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