Re: Implementing branch attributes in git config

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: sean
Date: Sunday, May 7, 2006 - 5:34 pm

On Sun, 7 May 2006 17:05:26 -0700 (PDT)
Linus Torvalds <torvalds@osdl.org> wrote:


Having magic sections that prepend "branch." seems a bit suspect;
why not just be explicit:

  [branch.Origin]
      URL = ...
      fetch = master

Wouldn't it be reasonable for git to impose modest restrictions on
branch names; such as restricting them to [a-zA-Z0-9] characters?
Then we just have to make section names case sensitve within the
config file; keys could still be case insensitive.

Actually it would be nice if we were consistent.  If case matters to
git then the config file should be case sensitive.  If case doesn't
matter to git, then it should consider "Branch", "branch" and "BrAnCh"
as the same in all contexts (eg. git branch -b BrAnCh).  It seems
silly for us to say people are too dumb to handle case sensitivity
in a config file, but it's perfectly acceptable everywhere else.

Sean
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Implementing branch attributes in git config, Pavel Roskin, (Sun May 7, 2:34 pm)
Re: Implementing branch attributes in git config, Junio C Hamano, (Sun May 7, 3:24 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Sun May 7, 5:05 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Sun May 7, 5:18 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Sun May 7, 5:25 pm)
Re: Implementing branch attributes in git config, sean, (Sun May 7, 5:34 pm)
Re: Implementing branch attributes in git config, Pavel Roskin, (Sun May 7, 5:36 pm)
Re: Implementing branch attributes in git config, Johannes Schindelin, (Sun May 7, 5:43 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Sun May 7, 5:43 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Sun May 7, 5:55 pm)
Re: Implementing branch attributes in git config, Pavel Roskin, (Sun May 7, 6:04 pm)
Re: Implementing branch attributes in git config, Johannes Schindelin, (Sun May 7, 6:05 pm)
Re: Implementing branch attributes in git config, Pavel Roskin, (Sun May 7, 6:21 pm)
Re: Implementing branch attributes in git config, Junio C Hamano, (Sun May 7, 6:27 pm)
Re: Implementing branch attributes in git config, Johannes Schindelin, (Sun May 7, 6:27 pm)
Re: Implementing branch attributes in git config, Johannes Schindelin, (Sun May 7, 6:45 pm)
Re: Implementing branch attributes in git config, Pavel Roskin, (Sun May 7, 6:55 pm)
Re: Implementing branch attributes in git config, Junio C Hamano, (Sun May 7, 7:29 pm)
Re: Implementing branch attributes in git config, Junio C Hamano, (Mon May 8, 2:00 am)
Re: Implementing branch attributes in git config, Johannes Schindelin, (Mon May 8, 5:17 am)
Re: Implementing branch attributes in git config, Pavel Roskin, (Mon May 8, 8:15 am)
Re: Implementing branch attributes in git config, Daniel Barkalow, (Mon May 8, 4:20 pm)
Re: Implementing branch attributes in git config, Johannes Schindelin, (Mon May 8, 4:40 pm)
Re: Implementing branch attributes in git config, Johannes Schindelin, (Mon May 8, 4:44 pm)
Re: Implementing branch attributes in git config, Johannes Schindelin, (Mon May 8, 5:23 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Mon May 8, 5:37 pm)
Re: Implementing branch attributes in git config, Junio C Hamano, (Mon May 8, 5:54 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Mon May 8, 6:05 pm)
Re: Implementing branch attributes in git config, Junio C Hamano, (Mon May 8, 6:18 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Mon May 8, 6:30 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Mon May 8, 6:57 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Mon May 8, 8:08 pm)
Re: Implementing branch attributes in git config, Linus Torvalds, (Mon May 8, 9:11 pm)
Re: Implementing branch attributes in git config, Junio C Hamano, (Mon May 8, 10:31 pm)
Re: Implementing branch attributes in git config, Martin Waitz, (Tue May 9, 4:26 am)
Re: Implementing branch attributes in git config, Johannes Schindelin, (Tue May 9, 4:34 am)