List of usage examples for org.eclipse.jgit.transport RefSpec matchDestination
public boolean matchDestination(Ref r)
From source file:com.google.gerrit.server.git.PushOp.java
License:Apache License
private RefSpec matchDst(final String ref) { for (final RefSpec s : config.getPushRefSpecs()) { if (s.matchDestination(ref)) { return s.expandFromDestination(ref); }//w ww.j a va 2s. c o m } return null; }
From source file:com.googlesource.gerrit.plugins.replication.PushOne.java
License:Apache License
private RefSpec matchDst(String ref) { for (RefSpec s : config.getPushRefSpecs()) { if (s.matchDestination(ref)) { return s.expandFromDestination(ref); }//from w ww .j av a 2 s . c o m } return null; }