Re: [PATCH 2/2] After renaming a section, print any trailing variable definitions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nanako Shiraishi
Date: Friday, July 24, 2009 - 3:11 pm

Quoting Alex Vandiver <alex@chmrr.net>


Isn't this a syntax error?

Documentation/config.txt says this.

    Subsection names are case sensitive and can contain any characters
    except newline (doublequote `"` and backslash have to be escaped as
    `\"` and `\\`, respectively).  Section headers cannot span multiple
    lines.  Variables may belong directly to a section or to a given
    subsection.  You can have `[section]` if you have `[section
    "subsection"]`, but you don't need to.

    There is also a case insensitive alternative `[section.subsection]`
    syntax.  In this syntax, subsection names follow the same restrictions
    as for section names.

    All the other lines are recognized as setting variables, in the form
    'name = value'.  If there is no equal sign on the line, the entire
    line ...

I read "All the other lines" to mean that the section headers and variable definitions are supposed to be on different lines.

-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/

--
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:
Re: [PATCH 2/2] After renaming a section, print any traili ..., Nanako Shiraishi, (Fri Jul 24, 3:11 pm)
[No subject], Nanako Shiraishi, (Fri Jul 24, 5:28 pm)
Re: [PATCH 1/2] Make section_name_match start on '[', and ..., Johannes Schindelin, (Sat Jul 25, 7:09 am)
Re: [PATCH 2/2] After renaming a section, print any traili ..., Johannes Schindelin, (Sat Jul 25, 7:10 am)
Re: [PATCH 1/2] Make section_name_match start on '[', and ..., Johannes Schindelin, (Sat Jul 25, 10:41 am)
Re: [PATCH] Make git config fail on variables with no sect ..., Johannes Schindelin, (Sun Jul 26, 9:49 am)
Re: [PATCH] Make git config fail on variables with no sect ..., Johannes Schindelin, (Sun Jul 26, 12:48 pm)