public class RefUpdateUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
executeChecked(org.eclipse.jgit.lib.BatchRefUpdate bru,
org.eclipse.jgit.revwalk.RevWalk rw)
Execute a batch ref update, throwing a checked exception if not all updates succeeded.
|
public static void executeChecked(org.eclipse.jgit.lib.BatchRefUpdate bru,
org.eclipse.jgit.revwalk.RevWalk rw)
throws IOException
bru - batch update; should already have been executed.LockFailureException - if the transaction was aborted due to lock failure; see checkResults(BatchRefUpdate) for details.IOException - if any result was not OK.