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

Re: GIT_ONE_FILESYSTEM inclusion?

From
Lars Damerow <lars@pixar.com>
Date
Mar 24, 2010, 13:40 UTC
Message-ID
<20100324134048.GB10190@pixar.com>
In-Reply-To
<81b0412b1003240437n799bac07sb74db749d647817d@mail.gmail.com>
>From Alex Riesen <raa.lkml@gmail.com>, Wed, Mar 24, 2010 at 12:37:39PM +0100:
> 
> Isn't it a little pointless to look for repository when you can't
> access its config?

If you're doing the trendy thing of putting repository information in your shell prompt, then your prompt is looking for a repository every time you change a directory.

As for making this a command-line option: that's certainly doable, but it makes it harder to enforce the option's use across an organization. It's far easier for me to set an environment variable centrally on a thousand workstations than to convince a potentially large number of users to set a new shell alias for git.

thanks, -lars

-- lars r. damerow :: button pusher :: pixar animation studios

Previous: Alex RiesenNext: Alex Riesen
Message 5 of 14 in “GIT_ONE_FILESYSTEM inclusion?”
  1. Lars DamerowMar 23, 2010
  2. Alex RiesenMar 24, 2010
  3. Johannes SixtMar 24, 2010
  4. Alex RiesenMar 24, 2010
  5. Lars DamerowMar 24, 2010
  6. Alex RiesenMar 24, 2010
  7. Junio C HamanoMar 24, 2010
  8. Alex RiesenMar 24, 2010
  9. Junio C HamanoMar 24, 2010
  10. Alex RiesenMar 24, 2010
  11. Lars DamerowMar 24, 2010
  12. Matthieu MoyMar 24, 2010
  13. David AguilarMar 27, 2010
  14. Jeff KingMar 28, 2010

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.