commit | 5d49ff2c73a0439eb273096f7393c6587152d566 | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Mon Dec 17 14:07:57 2012 -0800 |
committer | Dave Borowitz <dborowitz@google.com> | Mon Dec 17 14:07:57 2012 -0800 |
tree | 35ddbe4ea3a49fea0a0fe7ffb5a849b262744b1a | |
parent | eb794ea4fc71cab00a6a2d21d683af24cc71d899 [diff] |
Support loading config from a system property Refactor config loading support into its own static utility method. Prefer servlet config parameters where available, then fall back to a system property, then a default filename (gitiles.config in the working directory). Change-Id: I90c734dda3d1e582dbee52efede6b688c9197f14