]> source.dussan.org Git - jgit.git/commit
Allow to read configured keys 35/835/3
authorMathias Kinzler <mathias.kinzler@sap.com>
Mon, 14 Jun 2010 16:03:30 +0000 (18:03 +0200)
committerMathias Kinzler <mathias.kinzler@sap.com>
Tue, 15 Jun 2010 08:12:26 +0000 (10:12 +0200)
commitc1c1300a74e57d9a8bc6d2e1f079f048934ce9df
treee3c730c67a3b384db4ffda0c47a1337d9edebde5
parent86fcdc53ad29d850f0831636038ef56a981c98e5
Allow to read configured keys

Currently, there is no way to read the content
of the Git Configuration in a  way that would
allow to list all configured values generically.
This change extends the Config class in such a
way as to being able to get a list of sections and
to get a list of names for any given section or
subsection.
This is required in able to implement proper
configuration handling in EGit (show all the
content of a given configuration similar to
"git config -l").

Change-Id: Idd4bc47be18ed0e36b11be8c23c9c707159dc830
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryConfigTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java