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

Re: use GIT_DIR instead of /var/tmp

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Jan 5, 2006, 17:07 UTC
Message-ID
<43BD526F.2040300@zytor.com>
In-Reply-To
<81b0412b0601050847h1dcd5e81sd5eef3f03df6d1de@mail.gmail.com>
Alex Riesen wrote:
Show 14 quoted lines
> On 1/5/06, H. Peter Anvin <hpa@zytor.com> wrote:
> 
>>>Not every system (will not one microsoft windows system) have /var/tmp,
>>>whereas using GIT_DIR for random temporary files is more or less established.
>>
>>Depends on what you're doing.  Only if you're writing to the repository.
>>
>>Windows will usually have $TMP and/or $TEMP, a lot of Unix apps honour
>>$TMP_DIR.
> 
> 
> Well, it never had TMP/TEMP by default for me (though I'd expect from people
> installing git to set the thing properly), and it is usually undefined
> everywhere else.
Well, for me it's set to
TEMP=C:\Documents and Settings\user\Local Settings\Temp

(except it's all in 8.3-mangled form)... and I sure as Hades didn't set it. This in on XP SP2. "Local Settings" is a hidden directory which seems to have stuff like the Internet Exploder cache in it.

	-hpa
Previous: Alex RiesenNext: Linus Torvalds
Message 4 of 8 in “use GIT_DIR instead of /var/tmp”
  1. Alex RiesenJan 5, 2006
  2. H. Peter AnvinJan 5, 2006
  3. Alex RiesenJan 5, 2006
  4. H. Peter AnvinJan 5, 2006
  5. Linus TorvaldsJan 5, 2006
  6. Jon NelsonJan 5, 2006
  7. Alex RiesenJan 6, 2006
  8. Johannes SchindelinJan 6, 2006

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.