]> source.dussan.org Git - jgit.git/commit
Add a RefFilter interface to ReceivePack and UploadPack 80/280/5
authorNico Sallembien <nsallembien@google.com>
Tue, 9 Feb 2010 17:53:53 +0000 (09:53 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 10 Feb 2010 19:54:38 +0000 (11:54 -0800)
commite54d33b6873f0b392640f9200398861210ac9374
tree7dcd65c81f9e04e313167a7dfbed5859aa40592a
parentefdcb16be3d34e97bb05d9ddaea538ba2d906eca
Add a RefFilter interface to ReceivePack and UploadPack

When a user of ReceivePack or UploadPack wants to control what refs
are sent to the client, for instance when some refs should be hidden
from some clients, this interface can be extended to provide a fine
grained control over what refs are sent to the client.

Change-Id: Ie6320b0f8922e1a5e1bad91c016bd476ea094366
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/RefFilter.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java