List of usage examples for org.eclipse.jgit.transport RefSpec expandFromDestination
public RefSpec expandFromDestination(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 w w . j ava 2 s . c om } 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); }/* w ww . j a va 2s . co m*/ } return null; }