]> source.dussan.org Git - jgit.git/commitdiff
Merge branch 'stable-4.8' into stable-4.9 30/127630/2
authorMatthias Sohn <matthias.sohn@sap.com>
Sat, 18 Aug 2018 11:47:51 +0000 (13:47 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 18 Aug 2018 11:47:51 +0000 (13:47 +0200)
* stable-4.8:
  Fix GC run in foreground to not use executor

Change-Id: Id9d864a8e727fefa35ca87eccb4e3801eb689c3c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
1  2 
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GcLog.java

index 994a4325a8d4fc7b8e726ea40cee190da020a42c,35049d4063c3851311f9affe11db99dd09e13812..e5fc0c5badfeae5d2760c4ade7b134c77c929e32
  
  package org.eclipse.jgit.internal.storage.file;
  
 -import org.eclipse.jgit.api.errors.JGitInternalException;
 -import org.eclipse.jgit.lib.ConfigConstants;
 -import org.eclipse.jgit.util.GitDateParser;
 -import org.eclipse.jgit.util.SystemReader;
 -
  import static java.nio.charset.StandardCharsets.UTF_8;
  
- import java.io.BufferedReader;
  import java.io.File;
  import java.io.IOException;
  import java.nio.file.Files;
@@@ -54,13 -58,6 +53,11 @@@ import java.nio.file.attribute.FileTime
  import java.text.ParseException;
  import java.time.Instant;
  
- import org.eclipse.jgit.internal.JGitText;
 +import org.eclipse.jgit.api.errors.JGitInternalException;
 +import org.eclipse.jgit.lib.ConfigConstants;
 +import org.eclipse.jgit.util.GitDateParser;
 +import org.eclipse.jgit.util.SystemReader;
 +
  /**
   * This class manages the gc.log file for a {@link FileRepository}.
   */