public static void main(String[] args) throws IOException, GitAPIException { try (Repository repository = CookbookHelper.openJGitCookbookRepository()) { try (Git git = new Git(repository)) { Properties ret = git.gc(). setProgressMonitor(new PrintlnProgressMonitor()).call(); for(Map.Entry<Object, Object> entry : ret.entrySet()) { System.out.println("Ret: " + entry.getKey() + ": " + entry.getValue()); } } } }
public static void main(String[] args) throws IOException, GitAPIException { try (Repository repository = CookbookHelper.openJGitCookbookRepository()) { try (Git git = new Git(repository)) { Properties ret = git.gc(). setProgressMonitor(new PrintlnProgressMonitor()).call(); for(Map.Entry<Object, Object> entry : ret.entrySet()) { System.out.println("Ret: " + entry.getKey() + ": " + entry.getValue()); } } } }
@Override public GarbageCollectCommand gc() { return super.gc().setProgressMonitor(progressMonitor("gc")); }
@Override public GarbageCollectCommand gc() { return super.gc().setProgressMonitor(progressMonitor("gc")); }
@Override public GarbageCollectCommand gc() { return super.gc().setProgressMonitor(progressMonitor("gc")); }