Make Repository.getConfig aware of changed config
commitcc905e7d4be2334cdea984cf478901e904770292
authorJens Baumgart <jens.baumgart@sap.com>
Mon, 12 Apr 2010 09:48:45 +0000 (12 11:48 +0200)
committerJens <jens.baumgart@sap.com>
Mon, 12 Apr 2010 09:48:45 +0000 (12 11:48 +0200)
treeb61ced58ca2a356b60468e1e912362eb90ec1d70
parentc80181c7379a3564df02503441c563b10a855808
Make Repository.getConfig aware of changed config

In the current implementation Repository reads user and repository
config only at creation point of time.
The new implementatiopn checks in Repository.getConfig if user or
repository config have changed on disk and reload the config if
required.

Change-Id: Ibd97515919ef66c6f8aa1a4fe8a11a6711335dad
Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/lib/FileBasedConfig.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java