commit | 92cf27fe3affb29c3ecf840d42896de037181186 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Wed Jul 29 09:09:06 2009 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Wed Jul 29 09:09:06 2009 -0700 |
tree | e61e5266ceffb72bce20306a2a449b7e71aabec1 | |
parent | fdff36116eded8feb471ccdd99684a272a124073 [diff] |
Use FileBasedConfig Config rather than RepositoryConfig When using the JGit config file code to read gerrit.config and replication.config we are processing our own configuration file and not a repository-specific configuration file. Thus using the type RepositoryConfig is an abuse, and we should instead use FileBasedConfig when we must read it from disk, but in most places the generic base class Config is much more suitable. Signed-off-by: Shawn O. Pearce <sop@google.com>