Refactor WindowCache.reconfigure() to take a configuration object
This makes it safer for applications to be calling reconfigure()
should we ever add more controllable parameters to cache. It may
also leave the door open for more common option handling, such as
reading from ~/.gitconfig in a standard way across applications
built upon JGit. We could also add sanity check functions to the
new configuration object, allowing applications to inquire about
the validity before installing it.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>