28293031323334353637
*/ public static void packRefs(Repository repo, ProgressMonitor monitor) throws IOException { if (repo != null && repo instanceof FileRepository) { GC gc = new GC(((FileRepository) repo)); gc.setProgressMonitor(monitor); gc.packRefs(); } } }