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

Re: [RFC 2/2] Automatically transform .git/{branches,remotes} into .git/config

From
Junio C Hamano <junkio@cox.net>
Date
Nov 28, 2005, 09:14 UTC
Message-ID
<7vpsolxhg8.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<438AC32E.5010100@op5.se>
Andreas Ericsson <ae@op5.se> writes:
> I'd still like to see git-repo-config and git-user-config. Otherwise 
> we'll need to continue having user-based environment variables 
> (GIT_COMMITTER_IDENT and friends).

Since .git/config is not shared across repositories even on clone (and is deliberately so), "git-repo-config user.name" is for you to set *your* name.

Having said that, GIT_COMMITTER_IDENT and friends are there to stay, because that is how you override what you get from the config file per commit, which is needed for people playing the integrator role. When one is playing an individual developer role, user.name or even not having any and relying on GECOS is often good enough.

Previous: Andreas EricssonNext: Josef Weidendorfer
Message 11 of 21 in “[RFC 2/2] Automatically transform .git/{branches,remotes} into .git/config”
  1. Johannes SchindelinNov 21, 2005
  2. Josef WeidendorferNov 21, 2005
  3. Johannes SchindelinNov 21, 2005
  4. Josef WeidendorferNov 21, 2005
  5. Andreas EricssonNov 21, 2005
  6. Junio C HamanoNov 21, 2005
  7. Petr BaudisNov 27, 2005
  8. Johannes SchindelinNov 28, 2005
  9. Junio C HamanoNov 28, 2005
  10. Andreas EricssonNov 28, 2005
  11. Junio C HamanoNov 28, 2005
  12. Josef WeidendorferNov 28, 2005
  13. Andreas EricssonNov 28, 2005
  14. Generic configuration plumbing (Was: Re: [RFC 2/2] Automatically transform...)Josef Weidendorfer, Nov 28, 2005
  15. Johannes SchindelinNov 28, 2005
  16. Petr BaudisNov 28, 2005
  17. Josef WeidendorferNov 28, 2005
  18. Junio C HamanoNov 29, 2005
  19. Johannes SchindelinNov 28, 2005
  20. Petr BaudisNov 28, 2005
  21. Johannes SchindelinNov 28, 2005

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.