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

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

From
MDMarten Svanfeldt (dev) <developer@svanfeldt.com>
Date
Nov 12, 2008, 23:27 UTC
Message-ID
<491B665F.3090103@svanfeldt.com>
In-Reply-To
<1f748ec60811121406j7ac72c7eqcfbe68132b2ebfc0@mail.gmail.com>
Hi,
Clifford Caoile wrote:
> Hi Marten Svanfeldt:
> 
> On Wed, Nov 12, 2008 at 11:28 PM, Marten Svanfeldt (dev)
> <developer@svanfeldt.com> wrote:
..
> 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" ?

No. repo_path() is the path to the repository, so the .git directory. If you instead want within the working directory it is wc_path().

> 
> Best regards,
> Clifford Caoile
-Marten Svanfeldt
Previous: Clifford Caoile
Message 3 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.