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

Re: Temporary directories getting errantly added into trees

From
Jeff King <peff@peff.net>
Date
Nov 22, 2007, 10:43 UTC
Message-ID
<20071122104352.GB10389@sigill.intra.peff.net>
In-Reply-To
<4744FCD9.7020102@vilain.net>
On Thu, Nov 22, 2007 at 04:51:53PM +1300, Sam Vilain wrote:
> I think it would be a good thing for all if you had to work very hard to
> put files like this in the tree, or perhaps it would be better to go
> through and make all the tools that create these temporary directories
> create them under .git instead.

Personally, I think they should all go under .git with very descriptive, public names (the name ".dotest" is not really hidden from the user, and I have never really been able to make sense of it. Surely there is some more useful name?).

But I think there is the real possibility of damaging user scripts which make assumptions based on the presence of .dotest (to see if we're in a git-am or rebase session, etc). I have no idea how common such scripts are.

-Peff
Previous: Eric WongNext: Johannes Schindelin
Message 3 of 12 in “Temporary directories getting errantly added into trees”
  1. Sam VilainNov 22, 2007
  2. Eric WongNov 22, 2007
  3. Jeff KingNov 22, 2007
  4. Johannes SchindelinNov 22, 2007
  5. Martin LanghoffNov 22, 2007
  6. Johannes SchindelinNov 22, 2007
  7. Junio C HamanoNov 22, 2007
  8. Jeff KingNov 22, 2007
  9. Johannes SchindelinNov 22, 2007
  10. Karl HasselströmNov 23, 2007
  11. Sam VilainNov 24, 2007
  12. Marco CostalbaNov 23, 2007

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.