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

Re: [RFC] gitweb: Add committags support (take 2)

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 6, 2006, 20:35 UTC
Message-ID
<200612062135.44658.jnareb@gmail.com>
In-Reply-To
<7vpsaw3iyp.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 6 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes:
> 
>> By the way, what is the formal structure of the config file? Perhaps
>> something like the notation used in RFC?
> 
> Is there an RFC for .INI format?

I don't think INI is standarized at all. The format of INI files is not well defined. That's why I'd like to know exact format of git INI-like config file format.

But what I meant was description of git config file in (used by RFCs)
augmented Backus-Naur Form (BNF) - RFC 4234.
 
Show 26 quoted lines
>> Is it possible (and doesn't crash current git config parser) having
>>
>>   [gitweb]
>>   	blame = yes
>>   	pickaxe = no
>>   	snapshot = bzip2
>>
>>   [gitweb "committags"]
>>   	message-id = "http://news.gmane.org/find-root.php?message_id="
>>   	mantis = "http://bugs.or.cz/view.php?id="
>>   	url
>>   	sha1
>>
>> in the config file?
> 
> If you are asking about [gitweb] stanza and (seemingly
> overlapping) [gitweb "foo"] stanza, we already have prior
> examples:
> 
> 	[diff]
>         	color = auto
>         [diff "color"]
>         	whitespace = blue reverse
> 
> so your example in the above would be legal (the dash in
> 'message-id' part might be questionable, though).
That's what I was asking for. Thanks for an explanation.
-- 
Jakub Narebski
Previous: Junio C Hamano
Message 11 of 11 in “[RFC] gitweb: Add committags support (take 2)”
  1. Jakub NarebskiDec 3, 2006
  2. Junio C HamanoDec 4, 2006
  3. Jakub NarebskiDec 4, 2006
  4. Junio C HamanoDec 4, 2006
  5. Jakub NarebskiDec 4, 2006
  6. Junio C HamanoDec 5, 2006
  7. Jakub NarebskiDec 6, 2006
  8. Junio C HamanoDec 6, 2006
  9. Jakub NarebskiDec 6, 2006
  10. Junio C HamanoDec 6, 2006
  11. Jakub NarebskiDec 6, 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.