aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit/src
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-06-24 09:07:53 -0700
committerShawn O. Pearce <spearce@spearce.org>2010-06-25 17:58:40 -0700
commit532421d98925f23ddaa63c8d5f22be24879a6385 (patch)
treef22425b408d55019bacab3a20adae68e390528bd /org.eclipse.jgit.junit/src
parent8f46ee4870d0a49fcce1d0cb2b8e2aee9aaafee1 (diff)
downloadjgit-532421d98925f23ddaa63c8d5f22be24879a6385.tar.gz
jgit-532421d98925f23ddaa63c8d5f22be24879a6385.zip
Refactor repository construction to builder class
The new FileRepositoryBuilder class helps applications to construct a properly configured FileRepository, with properties assumed based upon the standard Git rules for the local filesystem. To better support simple command line applications, environment variable handling and repository searching was moved into this builder class. The change gets rid of the ever-growing FileRepository constructor variants, and the multitude of java.io.File typed parameters, by using simple named setter methods. Change-Id: I17e8e0392ad1dbf6a90a7eb49a6d809388d27e4c Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.junit/src')
0 files changed, 0 insertions, 0 deletions