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

Re: [PATCH 2/2] repo-config: learn the flag "--no-local"

From
Sean <seanlkml@sympatico.ca>
Date
Jun 8, 2006, 16:36 UTC
Message-ID
<BAYC1-PASMTP04DDBAA584B31A4B0F31DCAE8B0@CEZ.ICE>
In-Reply-To
<7v1wtzaa26.fsf@assigned-by-dhcp.cox.net>

On Thu, 08 Jun 2006 09:25:53 -0700 Junio C Hamano <junkio@cox.net> wrote:

Show 8 quoted lines
> The wording "--no-local" means you are looking at things
> relative to a particular repository.  I.e. some configuration
> variables come from repository-local file, and others from
> somewhere else.  But I do not think that somewhere else is
> "global".  We are reading from $HOME, which is different
> depending on who is interacting with that same repository.  So I
> would probably call the other one "--user" or something if I
> were force to pick name.

--user or --home makes a lot of sense. Alternatively you could just be explicit: --config=~ or --config=/etc/gitconfig where /.gitconfig is automatically appended to the path if it ends in a directory name.

Sean
Previous: Junio C HamanoNext: Johannes Schindelin
Message 10 of 21 in “repo-config: learn the flag "--no-local"”
  1. 2/2 repo-config: learn the flag "--no-local"Johannes Schindelin, Jun 8, 2006
  2. Lukas SandströmJun 8, 2006
  3. Johannes SchindelinJun 8, 2006
  4. Karl HasselströmJun 8, 2006
  5. Aneesh Kumar K.VJun 8, 2006
  6. Jakub NarebskiJun 8, 2006
  7. Johannes SchindelinJun 8, 2006
  8. Alex RiesenJun 8, 2006
  9. Junio C HamanoJun 8, 2006
  10. SeanJun 8, 2006
  11. Johannes SchindelinJun 8, 2006
  12. SeanJun 8, 2006
  13. Johannes SchindelinJun 8, 2006
  14. SeanJun 8, 2006
  15. Johannes SchindelinJun 8, 2006
  16. SeanJun 8, 2006
  17. Jakub NarebskiJun 8, 2006
  18. Johannes SchindelinJun 8, 2006
  19. Jakub NarebskiJun 8, 2006
  20. Aneesh Kumar K.VJun 8, 2006
  21. Johannes SchindelinJun 8, 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.