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
Petr Baudis <pasky@suse.cz>
Date
Nov 28, 2005, 13:59 UTC
Message-ID
<20051128135915.GR22159@pasky.or.cz>
In-Reply-To
<Pine.LNX.4.63.0511280248020.12343@wbgn013.biozentrum.uni-wuerzburg.de>

Dear diary, on Mon, Nov 28, 2005 at 02:52:08AM CET, I got a letter where Johannes Schindelin <Johannes.Schindelin@gmx.de> said that...

Show 6 quoted lines
> On Sun, 27 Nov 2005, Petr Baudis wrote:
> 
> > I've tried to explain that branches and remotes are different concepts,
> 
> Well, no. They aren't. The "branches" concept is a proper special case of 
> the "remotes" concept.

Yes, but precisely what I want to do is to avoid (most of) the "added value" of the remotes concept, if you will. Also, it really is a different namespace than branches (while branches share the same namespace with heads); I can try to make the namespaces match, but when they suddenly won't, you are in big mess.

Show 8 quoted lines
> But what the heck, I don't care what you eventually use.
> 
> I only realized that we -- in the good tradition of UNIX -- have many 
> different formats for different configurations: Some configurations are in 
> .gitignore, some are in .git/branches/, some in .git/remotes/, some in 
> .git/config, and even some in environment variables!
> 
> If everybody says that this should stay so, I'll just shut up.

As I said, I don't care much if this moves to the git configuration file, but please don't merge it with the remotes.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 20 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.