public class HookUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,org.eclipse.jgit.lib.Ref> |
ensureAllRefsAdvertised(org.eclipse.jgit.transport.BaseReceivePack rp)
Scan and advertise all refs in the repo if refs have not already been advertised; otherwise,
just return the advertised map.
|
public static Map<String,org.eclipse.jgit.lib.Ref> ensureAllRefsAdvertised(org.eclipse.jgit.transport.BaseReceivePack rp) throws org.eclipse.jgit.transport.ServiceMayNotContinueException
rp - receive-pack handler.org.eclipse.jgit.transport.ServiceMayNotContinueException - if a problem occurred.