]> source.dussan.org Git - jgit.git/commit
Add copy constructor to PackConfig 24/3924/1
authorShawn O. Pearce <spearce@spearce.org>
Wed, 27 Jul 2011 13:34:52 +0000 (06:34 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 27 Jul 2011 17:00:41 +0000 (10:00 -0700)
commit14680f6e6e9c8bd5e0640699f2a501c3fc8db178
treedcbd1487546a292f141f91e1462e015dbe1084eb
parentbfa62d88d47157b72abaf2f1a8fb8af07da75050
Add copy constructor to PackConfig

Some embeddings of UploadPack (e.g. Gerrit Code Review) set their own
PackConfig from a server-wide configuration, overriding any JGit
defaults or settings that may exist at the local repository level.

Make a copy constructor form of PackConfig so this server-wide
configuration object can be copied and then merged with repository
specific configuration data.

Change-Id: I4463c95aeaf7d6536c3ab132dec9c50ee528d9e0
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java