]> source.dussan.org Git - jgit.git/commit
Make StoredConfig an abstraction above FileBasedConfig 78/1178/1
authorShawn O. Pearce <spearce@spearce.org>
Mon, 26 Jul 2010 23:50:11 +0000 (16:50 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 26 Jul 2010 23:50:11 +0000 (16:50 -0700)
commit7ff18f3ec9f28609605dc5cca875cca2401b0ce5
treedd2c27c9796d974e6fd2002a2bb25d2972cb9818
parentfa9b225e06f16ca7fd7ffca5689f4af0942a73e1
Make StoredConfig an abstraction above FileBasedConfig

This exposes a load and save method, allowing a Repository to denote
that it has a persistent configuration of some kind which can be
accessed by the application, without needing to know exact details
of how its stored .

Change-Id: I7c414bc0f975b80f083084ea875eca25c75a07b2
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/StoredConfig.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileBasedConfig.java