commit | f8e3273decd883f334939cb24e542d47aba21a43 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Fri Apr 17 11:00:31 2009 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Fri Apr 17 11:00:31 2009 -0700 |
tree | a66cbf8e107ee6914abb2ad1c4fd6a3c54807fe1 | |
parent | 006734b7981289856f71501f3685fd0ee6d27a6d [diff] |
Supporrt mixed case subsection names in Git config files In the case of: [url "Foo"] insteadOf = Bar We should return "Bar" for the key "url.Foo.insteadof", but not for the key "url.foo.insteadof". This requires splitting the key into its components and only lower casing the section and value name, leaving the subsection portion alone. Signed-off-by: Shawn O. Pearce <sop@google.com>