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, 16:38 UTC
Message-ID
<43BD4B73.7010000@zytor.com>
In-Reply-To
<81b0412b0601050352n386505bfjd40e515809e3c862@mail.gmail.com>
Alex Riesen 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.

	-hpa
Previous: Alex RiesenNext: Alex Riesen
Message 2 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.