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

Re: Should 'git config' support key with dot such as 'a.b'

From
XMXavier Maillard <xma@gnu.org>
Date
Mar 17, 2008, 01:00 UTC
Message-ID
<200803170100.m2H103CF020765@localhost.localdomain>
In-Reply-To
<46dff0320803140124t1469defsf7002f720cf2002e@mail.gmail.com>
   I think the following form is more simple
   ---------------------------------
   [submodule]
	crawler.url = url1
	search.url = url2
   ---------------------------------
   So, could we support such simpler form?

Dunno if my vote will count but I really don't like your proposition. I find clearer with the current notation. What's more it forces people to be more rigorous when touching their configuration file.

git config is really simple to use and there should not be difficult for anybody (even new git users) to set up git using this helper tool. We should not recommend beginners to manually edit their .git/config file when git-config could be used.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org
Previous: Junio C HamanoNext: Frank Lichtenheld
Message 5 of 7 in “Should 'git config' support key with dot such as 'a.b'”
  1. Ping YinMar 14, 2008
  2. Johannes SchindelinMar 14, 2008
  3. Ping YinMar 18, 2008
  4. Junio C HamanoMar 18, 2008
  5. Xavier MaillardMar 17, 2008
  6. Frank LichtenheldMar 17, 2008
  7. Frank LichtenheldMar 17, 2008

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.